---
title: "Upsert the user's OOO form defaults"
method: PATCH
path: "/v2/users/{user_id}/ooo/preferences"
tags: ["users", "users-ooo"]
---

# Upsert the user's OOO form defaults

`PATCH /v2/users/{user_id}/ooo/preferences`

## 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/preferences`
- Auth: HTTP bearer

Pass ``null`` to clear a field. Self-service or admin-in-same-org only.

## Path parameters

- `user_id` string, required

## Request body

- UpdateOOOPreferencesRequest
  - `default_backup_user_id` string, nullable: Prefilled into the OOO form's backup picker on open.

## Response `200`

Successful Response

- UserOOOPreferences
  - `default_backup_user_id` string, nullable, required: Prefilled into the OOO form's backup picker on open.

## 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/3b5ab941f918?raw)
