---
title: "Update current user's global holidays"
method: POST
path: "/user/global_holidays"
tags: ["User"]
---

# Update current user's global holidays

`POST /user/global_holidays`

## Request

- Base URL: `https://HOSTNAME:8887/api`
- URL: `https://HOSTNAME:8887/api/user/global_holidays`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/docs/user/global_holidays/post.ts> (a function with typed inputs; its response is checked against the schema)

Update current user's global holidays from tenant holidays.

## Request body

- object
  - `items` string[]: A collection of ID of tenant's holiday.

## Response `201`

Created

- object
  - `id` string: The unique ID of the resource.

## Other responses

- `4XX`: Error

---

[API](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api.md) - [All operations](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/revisions/577415d4a3d5?raw)
