Delete a custom role
curl --request DELETE \
--url https://api.coderabbit.ai/v1/roles/{roleId} \
--header 'x-coderabbitai-api-key: <api-key>'Delete Role
Deletes an Enterprise custom role when it is not assigned to any organization members. System roles cannot be deleted.
DELETE
/
v1
/
roles
/
{roleId}
Delete a custom role
curl --request DELETE \
--url https://api.coderabbit.ai/v1/roles/{roleId} \
--header 'x-coderabbitai-api-key: <api-key>'Delete Custom Role
Deletes an Enterprise custom role when it is not assigned to any organization members. System roles cannot be deleted.Requires Admin role. See Role-based access for details.
Was this page helpful?
⌘I