Role Management

Delete a custom role

Changed on

Deletes an Enterprise custom role when it is not assigned to any organization members. System roles cannot be deleted.

delete/v1/roles/{roleId}

Request

  • Base URL
    https://api.coderabbit.ai
  • Auth
    API key in header x-coderabbitai-api-key

Path parameters

roleIdstring required

Query parameters

org_idstring

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

Custom role deleted

Changes