---
title: "Set vacation / auto-reply settings"
method: PUT
path: "/v1/domains/{domain}/mailboxes/{localPart}/vacation"
tags: ["Vacation"]
---

# Set vacation / auto-reply settings

`PUT /v1/domains/{domain}/mailboxes/{localPart}/vacation`

## Request

- Base URL: `https://api.usemektup.com`
- URL: `https://api.usemektup.com/v1/domains/{domain}/mailboxes/{localPart}/vacation`
- Auth: HTTP bearer

## Path parameters

- `domain` string, required
- `localPart` string, required

## Request body

- object
  - `enabled` boolean, required
  - `subject` string, nullable
  - `message` string, nullable: Required if enabled is true

## Response `204`

Updated

## Other responses

- `400`: Invalid request
- `404`: Not found on this account (tenant-isolated - never reveals another account's data)

---

[API](https://skmtc.dev/usemektup/apis/mektup-api.md) · [All operations](https://skmtc.dev/usemektup/apis/mektup-api/llms.txt) · [OpenAPI document](https://skmtc.dev/usemektup/apis/mektup-api/revisions/b64e649247e7?raw)
