API reference · Access Control & Users v1
POST/api/v1/roles/bulk

Bulk create roles

Processes an array of role payloads and returns per-item success/error entries.

RBAC · role

Request body

Content type: application/json · schema AccessBulkRolesBodyV1

rolesarray of AccessCreateRoleBodyV1Required
min items 1
itemsobject
role_namestringRequired
descriptionstring
permissionsarray of string
itemsstring <uuid>
copy_from_role_idstring <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:create.
500
Unexpected controller/service failure.