Skip to main content
POST
Create a custom role by copying an existing role

Authorizations

x-coderabbitai-api-key
string
header
required

API key for authentication. You can create an API key from the CodeRabbit dashboard.

Body

application/json
name
string
required
Required string length: 1 - 255
org_id
string
Minimum string length: 1
description
string
Maximum string length: 500
is_default
boolean
duplicate_from
string
Minimum string length: 1

Response

OK

role
object
required