API reference · Access Control & Users v1
PUT/api/v1/roles/{id}

Update role

Updates role metadata and optional permission references.

RBAC · role

Path parameters

idstring <uuid>Required
Role UUID from roles.role_id.

Request body

Content type: application/json · schema AccessUpdateRoleBodyV1

role_namestring
descriptionstring
permissionsarray of string
itemsstring <uuid>
is_templateboolean

Response body

Success response 200 · schema AccessApiSuccessV1

dataanyOfRequired
anyOf (option 1)object
anyOf (option 2)array of object
itemsobject
metaobject

Response codes

200
Operation succeeded.
400
Validation failed (payload/query/path parsing).
401
API key missing/invalid or key user not found.
403
RBAC denied for role:update.
500
Unexpected controller/service failure.