List organization roles
curl --request GET \
--url https://api.coderabbit.ai/v1/roles \
--header 'x-coderabbitai-api-key: <api-key>'List Roles
Lists built-in roles and Enterprise custom roles for the authenticated organization.
GET
/
v1
/
roles
List organization roles
curl --request GET \
--url https://api.coderabbit.ai/v1/roles \
--header 'x-coderabbitai-api-key: <api-key>'Lists built-in roles and Enterprise custom roles for the authenticated organization. Use theDocumentation Index
Fetch the complete documentation index at: https://docs.coderabbit.ai/llms.txt
Use this file to discover all available pages before exploring further.
role_type query parameter to filter by role type, and include permissions or user_count in the response as needed.
For more information, see Role-based access.Authorizations
API key for authentication. You can create an API key from the CodeRabbit dashboard.
Query Parameters
Optional role type filter.
Available options:
all, system, custom Response
200
Successfully retrieved roles
Was this page helpful?
⌘I