Update an attendance marking type

Updates a global attendance marking type. Requires edit-attendance permission and edit-settings permission.

Authentication

AuthorizationBearer

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

Path parameters

idintegerRequired

Request

This endpoint expects an object.
namestringRequired<=255 characters
categoryenumRequired
Allowed values:
colorstringRequired<=7 characters
descriptionstring or nullOptional
ask_for_permissionbooleanOptional
allow_notebooleanOptional
require_notebooleanOptional
iconstring or nullOptional<=255 characters
activebooleanOptional

Response

Marking type updated.
statusstringOptional
messagestringOptional
dataobjectOptional

Errors

403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error