Exemples

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

Paramètres

Nom du paramètre Description
location_id
optionel

Tri par emplacement

Validations:

  • Must be a Integer

organization_id
optionel

Tri par organisation

Validations:

  • Must be a Integer

id
requis

Validations:

  • Must be a String