---
title: Delete an out-of-office entry
description: Removes the entry.
api_method: DELETE
api_path: "/v1/out-of-office/{entryId}"
canonical_url: https://wiblo.app/docs/developers/api/out-of-office/delete-out-of-office-entry
last_updated: 2026-07-28T17:56:11+02:00
md_url: https://wiblo.app/docs/developers/api/out-of-office/delete-out-of-office-entry.md
---

# Delete an out-of-office entry

`DELETE /v1/out-of-office/{entryId}`

Removes the entry. Members delete their own; owner/admin anyone's. Per-user rate-limited at 60/60s.

## Path parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `entryId` | `string` | Yes |  |

## Headers

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `X-Wiblo-Workspace` | `string` | Yes | Workspace id the call is scoped to. The actor must hold an active membership in it; a foreign or unknown id collapses onto 404 WORKSPACE_NOT_FOUND. |

## Request

**curl**

```bash
curl https://api.wiblo.app/v1/out-of-office/4e9d2c7a-1f5b-4c8e-9a3d-6b2f8c4e7a1d \
  -X DELETE \
  -H "Authorization: Bearer $WIBLO_TOKEN" \
  -H "X-Wiblo-Workspace: $WIBLO_WORKSPACE_ID"
```

**TypeScript**

```ts
import { createSdk, deleteOutOfOfficeEntry } from "@workspace/sdk"

const sdk = createSdk({ baseUrl: "https://api.wiblo.app" })

const { data, error } = await deleteOutOfOfficeEntry({
  client: sdk,
  path: { entryId: "4e9d2c7a-1f5b-4c8e-9a3d-6b2f8c4e7a1d" },
  headers: { "X-Wiblo-Workspace": "..." },
})
```

## Responses

**`204`** — Entry deleted.

**`401`** — No valid session cookie or `wbl_*` bearer was present. Returns `ApiErrorEnvelope`.

**`403`** — A plain member touched another member's entry (`SELF_EDIT_ONLY`). Returns `ApiErrorEnvelope`.

**`404`** — No entry visible with this id (`OUT_OF_OFFICE_NOT_FOUND`). Returns `ApiErrorEnvelope`.

**`422`** — Path param failed UUID validation (`INVALID_PARAMS`). Returns `ApiErrorEnvelope`.

**`429`** — Rate limit exceeded. The body's `error.code` is `RATE_LIMITED` and `error.details.retry_after` is the same number of seconds as the `Retry-After` header. Returns `ApiErrorEnvelope`.
