Role Management
Create a custom role
Changed onCreates an Enterprise custom role. If is_default is true, the new role becomes the subscription default and the previous default is cleared.
post/v1/roles
Request
- Base URLhttps://api.coderabbit.ai
- AuthAPI key in header x-coderabbitai-api-key
Request body
Example request
{
"name": "Security Reviewer",
"permissions": [
{
"resource_id": "user_management"
}
]
}Response
Custom role created
Changes
- info
endpoint added
- info