Esempi

DELETE /api/roles/15
{
  "role": {}
}
200
{
  "id": 15,
  "name": "New Role",
  "builtin": 0,
  "description": null,
  "origin": null,
  "cloned_from_id": null
}

Parametri

Nome parametro Descrizione
location_id
opzionale

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opzionale

Set the current organization context for the request

Validations:

  • Must be a Integer

id
richiesto

Validations:

  • Must be a String