Delete role
DELETE/v1/tenants/:tenant/roles/:name
Deletes the specified role. When a role is deleted:
- The role is removed from all role assignments
- Role assignments are NOT deleted, even if the role array becomes empty
- System roles (ADMIN, WORKSPACE_ADMIN, WORKSPACE_EDITOR, WORKSPACE_VIEWER) cannot be deleted
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 409
- 412
- 500
Role deletion accepted
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Precondition Failed
Internal Server Error