Skip to main content

Create a role

POST 

/api/v1/roles

Creates a role in the calling tenant. A role is a named set of permission codes; users hold roles directly or through a group, and their effective permissions are the union of both. Permission codes may be supplied at creation, in which case they are bound in the same operation so the role is never briefly live with none. Requires role.create.

Request

Responses