Custom Role API
Delete Custom Role
Delete a custom role. Users and groups holding it keep their membership on the workspace with the role’s base role as a plain built-in role.
DELETE
Delete Custom Role
Authentication and permissions
Token requirements: User-based token (OAuth) or Organization-scoped API key. Send a bearer access token for one of these identities. The permissions and resource restrictions below also apply.
Permissions joined by + are all required; or separates alternatives. Full-access keys still cannot call endpoints marked unsupported. Workspace keys must allow every workspace checked by the request. OAuth access depends on the user’s roles and resource access.
- Default request: With a user OAuth token, you also need Edit Workspace Settings on the role’s workspace, and you can grant or revoke only actions you already hold there, unless you are an org admin of its organization.

