Delete a role
DELETE/role_permissions/roles/:roleId
Available from API version 2.9.0+. Deletes a role. The API token must have the "Permissions > Write" scope.
Request
Responses
- 204
- 400
- 401
- 403
- 404
Role deleted successfully
Cannot delete default role.
Authentication failure
Forbidden: API token is missing scope
Role with id {roleId} not found.