permissions
Delete role
Remove a role from your workspace. This also removes the role from all assigned API keys.
Important: This operation cannot be undone and immediately affects all API keys that had this role assigned.
Required Permissions
Your root key must have the following permission:
- rbac.*.delete_role
post/v2/permissions.deleteRole
Request body
Example request
{
"role": "role_dns_manager"
}Response
Role deleted successfully
Example response
{
"meta": {
"requestId": "req_123"
}
}