Create a role

Create a new role from the specified values.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

x-monite-versionstringRequired
x-monite-entity-idstringRequired

The ID of the entity that owns the requested resource.

Request

This endpoint expects an object.
namestringRequired>=1 character<=255 characters

Role name

permissionsobjectRequired

Access permissions

Response

Successful Response

idstringformat: "uuid"

UUID role ID

namestring>=1 character

Role name

permissionsobject

Access permissions

statusenum

record status, ‘active’ by default

Allowed values:
created_atdatetime

UTC datetime

updated_atdatetime

UTC datetime

Errors