Roles

Create a custom role

Creates a new agency-scoped custom role. The role's title must be unique within the agency and every (layer, permission) pair must come from the catalog (GET /api/v3/roles/permissions).

post/api/v3/roles/

Request

Request body

titlestring required

Role title. Must be non-empty and unique within the agency.

descriptionstring

Optional description.

layersobject required

Permissions grouped by product layer. Use codes from GET /api/v3/roles/permissions.

Response

Role created

idinteger required

ID of the newly created role.

Changes

No recorded changes to this operation across all 1 revision of this API.