Delete a role

DELETE /api/v1/roles/{id} prm_roles_manage

View as Markdown

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_manage Manage 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

Try it on your own network.

50 subscribers for 7 days. You pay nothing.