List role permission options
curl --request GET \
--url https://api.coderabbit.ai/v1/roles/permissions \
--header 'x-coderabbitai-api-key: <api-key>'{
"resource_ids": [
"repository_management",
"user_management",
"role_management"
],
"access_types": [
"read",
"write",
"delete"
]
}Role permissions
Lists the valid resource_id and access_type values that can be used when creating or updating Enterprise custom roles.
GET
/
v1
/
roles
/
permissions
List role permission options
curl --request GET \
--url https://api.coderabbit.ai/v1/roles/permissions \
--header 'x-coderabbitai-api-key: <api-key>'{
"resource_ids": [
"repository_management",
"user_management",
"role_management"
],
"access_types": [
"read",
"write",
"delete"
]
}
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
API key for authentication. You can create an API key from the CodeRabbit dashboard.
Was this page helpful?
āI