🚀 CodeRabbit Agent for Slack - From idea to pull request without leaving Slack. Get started!
curl --request POST \
--url https://api.coderabbit.ai/v1/users/roles \
--header 'Content-Type: application/json' \
--header 'x-coderabbitai-api-key: <api-key>' \
--data '
{
"role": "cr_admin",
"user_ids": [
"121358802",
"22605247"
]
}
'{
"status": "success",
"succeeded": [
"121358802",
"22605247"
],
"failed": []
}Bulk change roles for up to 500 users. Returns partial success with details of which users succeeded or failed.
curl --request POST \
--url https://api.coderabbit.ai/v1/users/roles \
--header 'Content-Type: application/json' \
--header 'x-coderabbitai-api-key: <api-key>' \
--data '
{
"role": "cr_admin",
"user_ids": [
"121358802",
"22605247"
]
}
'{
"status": "success",
"succeeded": [
"121358802",
"22605247"
],
"failed": []
}Documentation Index
Fetch the complete documentation index at: https://docs.coderabbit.ai/llms.txt
Use this file to discover all available pages before exploring further.
API key for authentication. You can create an API key from the CodeRabbit dashboard.
Your CodeRabbit API key
Operation completed (check status field for partial failures)
Response for bulk operations with partial success model
Operation status: 'success' if all succeeded, 'partial_success' if some succeeded, 'failure' if all failed
success, partial_success, failure Array of user IDs that were successfully processed
Array of failures with error details
Show child attributes
Was this page helpful?