Skip to main content
DELETE
Delete a custom role

Delete Custom Role

Deletes an Enterprise custom role when it is not assigned to any organization members. System roles cannot be deleted.
Requires Admin role. See Role-based access for details.

Authorizations

x-coderabbitai-api-key
string
header
required

API key for authentication. You can create an API key from the CodeRabbit dashboard.

Path Parameters

roleId
string
required

Query Parameters

org_id
string

Required when authenticating with a workspace-scoped API token: the git-provider organization id to target within the token's workspace. Ignored for organization and self-hosted keys.

Response

204

Custom role deleted