Skip to main content
DELETE
/
api
/
snoozes
/
{id}
Delete a snooze
curl --request DELETE \
  --url https://api.empirical.run/api/snoozes/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "snooze": {
      "id": 123,
      "test_ids": [
        "<string>"
      ],
      "snooze_until": "<string>",
      "description": "<string>",
      "created_from_test_run_id": 123,
      "created_by": "<string>",
      "created_at": "<string>",
      "updated_at": "<string>",
      "scoped_to_environment_id": 123
    }
  }
}

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

Response

The deleted snooze.

data
object
required

Response payload.