Delete Role
Permission required:
access-permissions
Roles that have the
protected
value astrue
can't be deleted (such as:admin
,moderator
,user
and so on).You cannot delete roles that are assigned to users. To do that, you must first remove this role from all the users.
Body Parameters
Example Call
Example Response
Success
Error
Any of the following errors can occur on the endpoint.
Authorization: Requires an authentication token for the request to be made.
Invalid RoleId: This occurs when the
roleId
does not exist on your workspace.
Change Log
Last updated