Skip to main content
PATCH
/
v1
/
alert-rules
/
{rule_id}
/
snooze
Snooze Alert Rule
curl --request PATCH \
  --url https://api.example.com/v1/alert-rules/{rule_id}/snooze \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "until": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

rule_id
string
required

Body

application/json
until
string | null

ISO-8601 UTC datetime to snooze until, or null/omit to un-snooze. A past timestamp is also treated as an un-snooze signal.

Response

Successful Response

The response is of type Response Snooze Alert Rule V1 Alert Rules Rule Id Snooze Patch · object.