Skip to main content
PATCH
Update a custom role

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

roleId
string
required

Role ID

Example:

"rol_abc123"

Body

application/json
name
string

New name for the custom role

Required string length: 2 - 50
Example:

"Compliance Manager"

permissions
object

Updated permissions for the role. Keys are resource names, values are arrays of allowed actions.

Example:
obligations
object

Updated obligations for the role.

Example:

Response

Role updated successfully

id
string
name
string
permissions
object
isBuiltIn
boolean
createdAt
string<date-time>
updatedAt
string<date-time>