Skip to main content
DELETE
/
api
/
snoozes
/
{id}
Delete Snooze
curl --request DELETE \
  --url https://api.example.com/api/snoozes/{id} \
  --header 'Authorization: <authorization>'
{
  "data": {
    "snooze": {
      "id": 12,
      "project_id": 4,
      "test_ids": [
        "a30a6eba6312f6b87ea5-55e241fbe3f4b8ae61ee"
      ],
      "snooze_until": "2026-04-15T00:00:00.000Z",
      "description": "Flaky due to third-party API instability",
      "created_from_test_run_id": 456,
      "created_by": null,
      "created_at": "2026-03-15T10:30:00.000Z",
      "updated_at": "2026-03-15T10:30:00.000Z",
      "scoped_to_environment_id": null
    }
  }
}
Permanently deletes a snooze. The deleted snooze object is returned in the response.

Examples

Request

Authorization
string
required
Bearer token for authentication. Format: Bearer <your-api-key>
project_id
number
required
The project ID.

Response

data.snooze
object
The deleted snooze object.
{
  "data": {
    "snooze": {
      "id": 12,
      "project_id": 4,
      "test_ids": [
        "a30a6eba6312f6b87ea5-55e241fbe3f4b8ae61ee"
      ],
      "snooze_until": "2026-04-15T00:00:00.000Z",
      "description": "Flaky due to third-party API instability",
      "created_from_test_run_id": 456,
      "created_by": null,
      "created_at": "2026-03-15T10:30:00.000Z",
      "updated_at": "2026-03-15T10:30:00.000Z",
      "scoped_to_environment_id": null
    }
  }
}

Delete a snooze

curl -X DELETE \
  "https://dash.empirical.run/api/snoozes/12?project_id=4" \
  -H "Authorization: Bearer $EMPIRICALRUN_KEY"