cURL
curl --request PATCH \ --url https://dash.empirical.run/api/snoozes/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "snooze_until": "<string>", "description": "<string>", "expire_now": true, "scoped_to_environment_id": 123, "test_ids": [ "<string>" ] } '
{ "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 } } }
Updates an existing snooze. Use to extend, expire, or modify a snooze.
API key from the Empirical dashboard.
Snooze ID.
-9007199254740991 <= x <= 9007199254740991
Fields to update.
Updated snooze.
Show child attributes
Was this page helpful?