Skip to main content
POST
Create custom role
Updated May 8, 2026

Authorizations

X-API-Key
string
header
required

API key for authentication. Each key is bound to a specific account.

Body

application/json
name
string
required
Required string length: 1 - 64
Example:

"Custom Operator"

slug
string
required
Maximum string length: 64
Pattern: ^[a-z0-9-]+$
Example:

"custom-operator"

scope
enum<string>
required
Available options:
account,
project
permissions
string[]
required
Minimum array length: 1
Example:
description
string

Response

Role created

success
boolean
data
object
Last modified on May 8, 2026