Skip to main content
PATCH
Update a snooze

Authorizations

Authorization
string
header
required

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

Path Parameters

id
integer
required

Snooze ID.

Required range: x >= 1

Body

application/json
snooze_until
string

ISO 8601 timestamp for when the snooze should expire, at most 7 days from now.

description
string | null

Description, or null to clear it.

expire_now
boolean

Set to true to immediately expire the snooze.

scoped_to_environment_id
number | null

Environment ID to scope the snooze to. Set to null to apply to all environments.

test_case_ids
string[]

Test case IDs to snooze, replacing the current ones.

created_by
string<uuid>

User ID of the snooze creator, who must belong to the project's org.

Response

The updated snooze.

data
object
required

Response payload.