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

Replace role permissions

Assigns provided permission UUIDs to the role and returns updated role payload.

RBAC · role

Path parameters

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

Request body

Content type: application/json · schema AccessRolePermissionsBodyV1

permission_idsarray of stringRequired
min items 1
itemsstring <uuid>

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.