Skip to main content
POST
Create a custom role

Authorizations

Authorization
string
header
required

Send your API token as Authorization: Bearer <api-token>.

Path Parameters

teamID
string
required

The team's ID. 24-character hexadecimal ID.

Pattern: ^[0-9a-fA-F]{24}$

Body

application/json
name
string
required

Role name. It's stored in lowercase.

Required string length: 3 - 50
permissions
object[]
required

Each type can appear only once.

Minimum array length: 1

Response

The role was created. The response body is empty.