---
title: "Cancel the user's pending OOO (active or scheduled). Idempotent:"
method: DELETE
path: "/v2/users/{user_id}/ooo"
tags: ["users", "users-ooo"]
---

# Cancel the user's pending OOO (active or scheduled). Idempotent:

`DELETE /v2/users/{user_id}/ooo`

## Request

- Base URL: `https://api.stuut.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stuut.ai/v2/users/{user_id}/ooo`
- Auth: HTTP bearer

returns ``already_inactive=true`` when nothing is pending, rather
than 404.

## Path parameters

- `user_id` string, required

## Response `200`

Successful Response

- DeleteOOOResponse
  - `user_id` string, required
  - `deactivated_at` string, date-time, nullable, required: Timestamp of when OOO was deactivated
  - `already_inactive` boolean, required: True when the request was a no-op

## Other responses

- `422`: Validation Error

---

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