Skip to main content
POST
Create a role

Authorizations

Authorization
string
header
required

User PAT (cliq_tok_…, including session-scoped) or realm token (cliq_dt_…).

Body

application/json
org_id
string<uuid>
required

Org UUID

role_id
string<uuid>

Present for update; omit to create

slug
string

URL-safe role identifier within the org; required on create

Required string length: 1 - 49
name
string

Human-readable role name

Required string length: 1 - 100
permissions
string[]

Permission slugs to grant

Response

Success.

ok
enum<boolean>
required

Always true on success.

Available options:
true
data
object
required