Holidays

Update a holiday

Administrators and the account owner only. When only one date is sent the range is checked against the stored value for the other. A range violation is always reported under `end_date`, even when `start_date` is the field that moved. Personal access token only. The API supports a second, partner-issued token class that is not part of the public surface. This endpoint does not accept that class.

PATCH
/holidays/{holiday}

Administrators and the account owner only.

When only one date is sent the range is checked against the stored value for the other. A range violation is always reported under end_date, even when start_date is the field that moved.

Personal access token only. The API supports a second, partner-issued token class that is not part of the public surface. This endpoint does not accept that class.

Authorization

bearerToken
AuthorizationBearer <token>

Personal access tokens created from the ThriveDesk UI. Create one under Integrations -> API Keys.

In: header

Path Parameters

holiday*string

Holiday identifier.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

All fields optional. Dates are validated against the stored values when only one is sent.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/holidays/string" \  -H "Content-Type: application/json" \  -d '{    "end_date": "2026-12-27"  }'
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "start_date": "2019-08-24",    "end_date": "2019-08-24",    "status": "upcoming",    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z"  }}