Toggle one or more holidays on/off for the user that owns the subscription.
Each holidayKeys[] entry is flipped: a key currently excluded becomes included again, a key currently included becomes excluded. The results map reports the new state per key — true means the holiday is now excluded (override active), false means the override was cleared.
Authorisation follows the same rule as deleting a subscription.
curl --request PUT \
--url https://api.zeeg.me/v2/holidays/subscriptions/{id}/overrides \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"holidayKeys": [
"easter-monday",
"christmas-day"
]
}
'{
"success": true,
"status": 200,
"results": {
"easter-monday": true,
"christmas-day": false
}
}Subscription identifier.
x >= 142
Holiday keys (from the subscription's holidays[].key) to flip.
1100curl --request PUT \
--url https://api.zeeg.me/v2/holidays/subscriptions/{id}/overrides \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"holidayKeys": [
"easter-monday",
"christmas-day"
]
}
'{
"success": true,
"status": 200,
"results": {
"easter-monday": true,
"christmas-day": false
}
}