> ## Documentation Index
> Fetch the complete documentation index at: https://developer.zeeg.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Toggle Holiday Overrides

> Override individual holidays within a subscription — opt back in to specific dates without unsubscribing from the entire category.



## OpenAPI

````yaml PUT /holidays/subscriptions/{id}/overrides
openapi: 3.0.0
info:
  title: Zeeg Public API
  description: >-
    Zeeg public API documentation.


    ## Authentication

    All endpoints require a Bearer token. You can generate an API token from
    [your Zeeg dashboard](https://app.zeeg.me/account/settings/api-access).


    Each token is scoped to specific permissions (e.g. `events:read`,
    `webhooks:write`). Make sure your token has the required scopes for the
    endpoints you want to use.


    ## Recommended Headers

    We recommend including the `Accept: application/json` header in all API
    requests to ensure you receive JSON responses.
  version: 2.0.0
  x-logo:
    url: https://app.zeeg.me/img/logo-dark.2ca83593.svg
    backgroundColor: '#f7f7f9'
    altText: zeeg
  contact:
    name: Zeeg Support
    email: support@zeeg.me
    url: https://zeeg.me/en/contact
  license:
    name: Proprietary
    url: https://zeeg.me/en/legal/terms
  termsOfService: https://zeeg.me/en/legal/terms
servers:
  - url: https://api.zeeg.me/v2
    description: Production
security:
  - bearer: []
tags:
  - name: Scheduled Events
    description: Management of events scheduled via Zeeg
  - name: Scheduling Pages
    description: Scheduling pages information and management
  - name: Availability Schedule
    description: Read and change availability for users
  - name: Webhooks
    description: Webhooks management
  - name: Notes
    description: Notes for scheduled events
  - name: Workspaces & Teams
    description: Workspace users and team member management
  - name: AI Agent
    description: AI Agent integration endpoints
  - name: Payloads
    description: Webhook payload schemas
  - name: CRM - Objects
    description: >-
      Discover the schema of CRM objects (standard and custom) including all
      attribute definitions
  - name: CRM - Companies
    description: Create, read, update, and delete CRM company records
  - name: CRM - People
    description: Create, read, update, and delete CRM person records
paths:
  /holidays/subscriptions/{id}/overrides:
    parameters:
      - name: id
        in: path
        required: true
        description: Subscription identifier.
        schema:
          type: integer
          format: int64
          minimum: 1
          example: 42
    put:
      tags:
        - Availability Schedule
      summary: Toggle holiday overrides
      description: >-
        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.
      operationId: toggle-holiday-overrides
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - holidayKeys
              properties:
                holidayKeys:
                  type: array
                  minItems: 1
                  description: >-
                    Holiday keys (from the subscription's `holidays[].key`) to
                    flip.
                  items:
                    type: string
                    maxLength: 100
            examples:
              Toggle two holidays:
                value:
                  holidayKeys:
                    - easter-monday
                    - christmas-day
      responses:
        '200':
          description: Overrides toggled.
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - status
                  - results
                properties:
                  success:
                    type: boolean
                  status:
                    type: integer
                    example: 200
                  results:
                    type: object
                    additionalProperties:
                      type: boolean
                    description: >-
                      Map of holiday key to its new excluded state (`true` = now
                      excluded, `false` = override cleared).
              examples:
                Mixed toggle:
                  value:
                    success: true
                    status: 200
                    results:
                      easter-monday: true
                      christmas-day: false
        '401':
          $ref: '#/components/responses/401'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
                  status:
                    type: integer
              examples:
                Forbidden:
                  value:
                    success: false
                    message: You cannot access this resource.
                    status: 403
        '404':
          description: Subscription not found.
          content:
            application/json:
              examples:
                Not found:
                  value:
                    success: false
                    status: 404
                    message: Holiday subscription not found.
        '422':
          description: Validation error.
          content:
            application/json:
              examples:
                Missing holidayKeys:
                  value:
                    message: The holiday keys field is required.
                    errors:
                      holidayKeys:
                        - The holiday keys field is required.
      security:
        - bearer: []
components:
  responses:
    '401':
      description: Unauthorized
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                example: Unauthenticated.
          examples:
            Unauthenticated:
              value:
                message: Unauthenticated.
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: ''

````