Skip to main content
PUT
Update an access role with version protection

Authorizations

Authorization
string
header
required

Passport bearer token authentication for legacy admin sessions.

Headers

X-Request-Id
string

Optional correlation ID recorded with the access audit event.

Path Parameters

role_id
integer
required

Role id.

Required range: x >= 1

Body

application/json

Request fields accepted by this operation. Omitted optional properties retain the behavior described above.

expected_version
integer
required

Validation: required|integer|min:1.

Required range: x >= 1
source
string
required

Validation: required|string|max:120.

Maximum string length: 120
name
string | null

Validation: nullable|string|min:3|max:255.

Required string length: 3 - 255
permissions
object | null

Permission map using registered editor keys. Null or omission preserves permissions. True, 1, 1 and true normalize to enabled; other values normalize to disabled, recursively for legacy arrays. Existing explicit denies and restrictions can persist when omitted. Unknown new keys are ignored; unsafe escalation is rejected. Use stored_permissions and editor transitions for a complete edit.

Response

Update an access role with version protection response.

data
object