Skip to main content
 print this page

Create a new access role

POST 

/roles

Creates a new access role. The caller automatically becomes a role manager, and every role manager is added to UsersAttached.

The request body is validated against a strict allow-list: any property other than the six documented ones is rejected with IPV-1008. Role names must be unique and must not begin with the reserved prefix "SystemRole". Not idempotent: a duplicate role name is rejected.

Request

Responses

Role created. The body carries the new role's identifier.

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers