Examples

DELETE /api/roles/8-Destroy%20hosts
{
  "role": {}
}
200
{
  "id": 8,
  "name": "Destroy hosts",
  "builtin": 0,
  "description": null,
  "cloned_from_id": null,
  "origin": ""
}

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Must be a Integer

organization_id
optional

Scope by organizations

Validations:

  • Must be a Integer

id
required

Validations:

  • Must be a String