Availability Schedule
Update Time-Off Period
Update an existing time-off period by UUID — change start/end dates, time zone, or notes.
PATCH
/
time-off
/
{uuid}
curl --request PATCH \
--url https://api.zeeg.me/v2/time-off/{uuid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "Summer break",
"startDate": "2026-07-02",
"endDate": "2026-07-16"
}
'{
"uuid": "01907f10-5b00-7b31-9cf0-1234567890ab",
"uri": "https://api.zeeg.me/v2/time-off/01907f10-5b00-7b31-9cf0-1234567890ab",
"type": "vacation",
"title": "Summer break",
"startDate": "2026-07-02",
"endDate": "2026-07-16",
"startHalfDay": true,
"endHalfDay": false,
"startHalfDayCutoff": "13:00",
"endHalfDayCutoff": null,
"note": "Out at the coast"
}Authorizations
Path Parameters
UUID of the time-off period.
Body
application/json
Available options:
vacation, out_of_office Maximum string length:
255Half-day cutoff (HH:MM). Required when startHalfDay is true.
Half-day cutoff (HH:MM). Required when endHalfDay is true.
Maximum string length:
1000Response
Updated time-off period.
Last modified on April 29, 2026
⌘I
curl --request PATCH \
--url https://api.zeeg.me/v2/time-off/{uuid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "Summer break",
"startDate": "2026-07-02",
"endDate": "2026-07-16"
}
'{
"uuid": "01907f10-5b00-7b31-9cf0-1234567890ab",
"uri": "https://api.zeeg.me/v2/time-off/01907f10-5b00-7b31-9cf0-1234567890ab",
"type": "vacation",
"title": "Summer break",
"startDate": "2026-07-02",
"endDate": "2026-07-16",
"startHalfDay": true,
"endHalfDay": false,
"startHalfDayCutoff": "13:00",
"endHalfDayCutoff": null,
"note": "Out at the coast"
}