Skip to main content
PATCH
Update Role
Partial update of a custom role. Note that role_type is immutable.

Authorizations

PUBLIC-API-KEY
string
header
default:<Your PUBLIC-API-KEY>
required
PRIVATE-SECRET-KEY
string
header
default:<Your PRIVATE-SECRET-KEY>
required

Path Parameters

role_id
string
required

The unique identifier of the role.

Body

application/json
name
string
Maximum string length: 255
description
string
Maximum string length: 1024
permission_ids
string[]
testing_permission_ids
string[]

Response

OK

id
string
name
string
description
string | null
admin
boolean
permission_ids
string[]
testing_permission_ids
string[]
role_type
string
created_at
string<date-time>
updated_at
string<date-time>