Roles

Creates a role with the given name, description and permissions, scoped to one or more structure types. Returns the created role.

post/permissions/v1/roles

Request

  • Base URL
    https://api.mitti.com
  • Auth
    HTTP bearer

Request body

structure_type_idsstring[] required

Required. List of structure type IDs to associate with the role. Limited to 100 per request.

namestring required

The role title

descriptionstring required

The role description

permissionsS12StructuresRolesV1PermissionType[]

The list of permissions enabled for this role.

Response

A successful response.

Changes