Skip to main content
PATCH
Update a custom role

Authorizations

Authorization
string
header
required

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

Path Parameters

roleId
string
required

Custom role ID (system presets cannot be edited)

Body

application/json
name
string

New role name

Required string length: 1 - 60
description
string

New description

Maximum string length: 300
permissions
object

Full replacement permission map

Example:

Response

Role updated

success
boolean
Example:

true

data
object