Create a role

Creates a school role and grants the selected abilities to it.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Request

This endpoint expects an object.
titlestringRequired<=255 characters
abilities_to_grantlist of stringsRequired

Response

The role was created and its resource was returned.
statusstringOptional
messagestringOptional
datamap from strings to anyOptional

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error