Update attendance marking type

Updates marking type attributes such as name, category, flags, icon, and active state.

Authentication

AuthorizationBearer

You can retrieve your token by visiting your dashboard and clicking Generate API token.

Path parameters

idstringRequired

Request

This endpoint expects an object.
namestringRequired
Must not be greater than 255 characters.
categoryenumRequired
category value.
Allowed values:
colorstringRequired
Must not be greater than 7 characters.
descriptionstring or nullOptional
description value.
ask_for_permissionbooleanOptional
ask for permission value.
allow_notebooleanOptional
allow note value.
require_notebooleanOptional
require note value.
iconstring or nullOptional
Must not be greater than 255 characters.
activebooleanOptional
active flag.

Response

Successful POST response for /api/v1/attendance/marking-type/update/{id}.

statusenum
Allowed values:
messagestring
dataobject