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 the
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