Skip to main content
POST
/
v2
/
users
/
{user_id}
/
ooo
Create and activate an OOO. Self-service or admin-in-same-org only
curl --request POST \
  --url https://api.example.com/v2/users/{user_id}/ooo \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "backup_user_id": "<string>",
  "start_date": "2023-12-25",
  "end_date": "2023-12-25"
}
'
{
  "created_at": "2023-11-07T05:31:56Z",
  "modified_at": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "user_id": "<string>",
  "backup_user_id": "<string>",
  "created_by_id": "<string>",
  "start_date": "2023-12-25",
  "end_date": "2023-12-25",
  "object": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.api.stuut.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
string
required

Body

application/json
backup_user_id
string
required

The user covering this OOO.

start_date
string<date> | null

Defaults to today.

end_date
string<date> | null

Planned last day of coverage.

Response

Successful Response

created_at
string<date-time>
required
modified_at
string<date-time> | null
required
id
string
required
user_id
string
required
backup_user_id
string
required

The user covering this OOO.

created_by_id
string | null
required

NULL = self-service or system-initiated.

start_date
string<date>
required

The start date of OOO.

end_date
string<date> | null
required

Planned last day of coverage.

object
string
required
read-only

String representing the object's type. Objects of the same type share the same value.