Delete a role
DELETE
/api/v1/roles/{id}
prm_roles_manage
Removes the role. System and immutable roles are refused, and so is a role that is still assigned.
At a glance
- Authentication
- Staff token or session
- Requires permission
-
prm_roles_manageManage roles & permissions - Rate limit
t_mutate
Parameters
| Parameter | Description |
|---|---|
idrequired
path · integer
|
Role id. |
Errors
| Code | When it is returned |
|---|---|
ERR_CONFLICT409
|
the role is still assigned to a manager |