Skip to main content
POST
Create a custom role

Authorizations

Authorization
string
header
required

JWT Bearer token for user session auth. Format: "Bearer {token}". Used by User and Organization endpoints.

Body

application/json
name
string
required

Role name, unique within your organization

Required string length: 1 - 60
Example:

"Payout Desk"

permissions
object
required
Example:
description
string

Optional description shown in the roles list

Maximum string length: 300
Example:

"Reviews and executes payouts only"

Response

Role created

success
boolean
Example:

true

data
object