# End holiday mode

Turn a team member's holiday mode off now. Nothing changes when it's already off.

[endpoint]
method = "DELETE"
base_url = "https://incidents.betterstack.com"
path = "/api/v3/holiday-mode"

[[query_param]]
name = "user_id"
type = "string"
description = "The team member whose holiday mode this is, as `u123` or their e-mail address. Required with an organization API token. With OAuth, leave it out to use your own holiday mode. Get the user ID via [List team members](/docs/uptime/api/team-members/list/). Letter case doesn't matter in an e-mail address."

[[header]]
name = "Authorization"
description = "Bearer `$TOKEN`"
required = true
type = "string"
[/endpoint]

[responses]
[[response]]
status = 204
description = "Holiday mode is ended. The response has no body."

[[response]]
status = 401
description = "The API token is missing or invalid."
body = '''
{
  "errors": "Invalid Team API token. How to find your Team API token: https://betterstack.com/docs/uptime/api/getting-started-with-uptime-api/#get-an-incidents-api-token"
}
'''

[[response]]
status = 403
description = "The token is read-only, your role doesn't allow the action, or the token can't be used for this API. A team API token can't be used, and an OAuth token can't name someone else in `user_id`."
body = '''
{
  "errors": "This API token is read-only and cannot be used for write operations."
}
'''

[[response]]
status = 422
description = "An organization API token sent no `user_id`, or it names no team member of the organization."
[/responses]

#### Example cURL

```shell
[label Turn off holiday mode]
curl --request DELETE \
  --url https://incidents.betterstack.com/api/v3/holiday-mode \
  --header "Authorization: Bearer $TOKEN"
```
