Skip to main content

Create a composite role

POST 

/api/v2/users/roles

Creates a new composite role grouping the given child roles (permissions).

Request​

Body

required

    name stringrequired

    Unique name of the composite role

    description string

    Human-readable description of the role

    childRoles string[]

    Child role names (permissions) this composite role groups

Responses​

Schema

    id string
    name stringrequired
    description string
    composite booleanrequired

    Whether this role is composite (groups other roles)

    childRoles string[]

    Child role names grouped by this composite role

Loading...