---
updatedAt: 2026-04-30T17:53:32.000Z
---

Fetch the complete documentation index at: https://developers.pismo.io/pismo-docs/llms.txt. Use this file to discover all available pages before exploring further.

# Update holiday (deprecated)

**DEPRECATED**. Call the new [Uodate holiday](https://developers.pismo.io/pismo-docs/reference/update-holiday) endpoint instead.

Update a holiday. 


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Platform setup - Organizations",
    "description": "View and manage organizations. <br><br>Note: An updated version of the <a href=\"https://developers.pismo.io/pismo-docs/reference/get-v1-holidays\">Holidays API</a> is available.",
    "version": "v1.0",
    "contact": {
      "name": "Pismo Support",
      "url": "https://developers.pismo.io/support/"
    },
    "license": {
      "name": "Copyright Pismo"
    }
  },
  "servers": [
    {
      "url": "https://sandbox.pismolabs.io",
      "description": "Sandbox API server for testing."
    }
  ],
  "tags": [
    {
      "name": "Holidays (deprecated)",
      "description": "View and manage some general holidays configurations"
    }
  ],
  "components": {
    "parameters": {
      "HolidayIdPath": {
        "description": "Holiday ID",
        "in": "path",
        "name": "id",
        "required": true,
        "schema": {
          "type": "string",
          "example": "12345"
        }
      },
      "TenantIdHeader": {
        "name": "x-tenant",
        "in": "header",
        "description": "Pismo organization ID",
        "required": true,
        "style": "simple",
        "schema": {
          "type": "string",
          "example": "TN-cc8f8b89-233a-4582-9f36-63ee85278d6d"
        }
      }
    },
    "schemas": {
      "HolidayDate": {
        "type": "string",
        "description": "Holiday date. Format = yyyy-mm-dd.",
        "example": "2024-02-24"
      },
      "HolidayDetails": {
        "description": "Holiday details",
        "type": "object",
        "properties": {
          "holiday_date": {
            "$ref": "#/components/schemas/HolidayDate"
          },
          "id": {
            "$ref": "#/components/schemas/HolidayID"
          },
          "name": {
            "$ref": "#/components/schemas/HolidayName"
          },
          "working_date": {
            "$ref": "#/components/schemas/WorkingDate"
          }
        }
      },
      "HolidayID": {
        "example": 1,
        "description": "Holiday ID",
        "type": "integer",
        "format": "int64"
      },
      "HolidayName": {
        "type": "string",
        "description": "Holiday name",
        "example": "Festivus"
      },
      "HolidayRequest": {
        "description": "Data to update a Holiday",
        "type": "object",
        "properties": {
          "holiday_date": {
            "$ref": "#/components/schemas/HolidayDate"
          },
          "name": {
            "$ref": "#/components/schemas/HolidayName"
          },
          "working_date": {
            "$ref": "#/components/schemas/WorkingDate"
          }
        }
      },
      "HTTPError": {
        "description": "Error",
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "Error code"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "WorkingDate": {
        "description": "Working date. The first normal business day after the holiday. Format = yyyy-mm-dd.",
        "example": "2023-02-22",
        "type": "string"
      }
    },
    "responses": {
      "401UnauthorizedError": {
        "description": "Unauthorized"
      },
      "404NotFound": {
        "description": "Not Found"
      }
    },
    "examples": {
      "BadRequestResponse": {
        "value": {
          "code": "EOA0030",
          "message": "Missing x-tenant header"
        }
      },
      "InternalServerErrorResponse": {
        "value": {
          "code": "EOA0001",
          "message": "Something went wrong, please try again later"
        }
      },
      "TenantNotFoundResponse": {
        "value": {
          "code": "EOA0100",
          "message": "Org TN-00000000000001 was not found"
        }
      }
    },
    "securitySchemes": {
      "S2SAuthentication": {
        "type": "http",
        "scheme": "bearer",
        "description": "All requests must be previously authenticated with an account-specific token.",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "S2SAuthentication": []
    }
  ],
  "paths": {
    "/orgs-core/v1/orgs/holidays/{id}": {
      "put": {
        "summary": "Update holiday (deprecated)",
        "description": "**DEPRECATED**. Call the new [Uodate holiday](https://developers.pismo.io/pismo-docs/reference/update-holiday) endpoint instead.\n\nUpdate a holiday. \n",
        "operationId": "put-v1-orgs-holidays",
        "deprecated": true,
        "tags": [
          "Holidays (deprecated)"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/HolidayIdPath"
          },
          {
            "$ref": "#/components/parameters/TenantIdHeader"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HolidayRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Holidays response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HolidayDetails"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPError"
                },
                "examples": {
                  "missing-x-tenant-header": {
                    "$ref": "#/components/examples/BadRequestResponse"
                  },
                  "tenant-not-found": {
                    "$ref": "#/components/examples/TenantNotFoundResponse"
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/401UnauthorizedError"
          },
          "404": {
            "$ref": "#/components/responses/404NotFound"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPError"
                },
                "examples": {
                  "generic-internal-error": {
                    "$ref": "#/components/examples/InternalServerErrorResponse"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
```