Skip to main content
GET
List role permission options
Lists the valid resource_id and access_type values that can be used when creating or updating Enterprise custom roles. For more information, see Role-based access.

Authorizations

x-coderabbitai-api-key
string
header
required

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

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

200 - application/json

Successfully retrieved role permission options

resource_ids
string[]
required
Example:
access_types
enum<string>[]
required
Available options:
read,
write,
delete
Example: