Docs
Delete Snapshot
Delete Snapshot
Remove a snapshot and its related assets.
Endpoint
DELETE /api/v1/snapshots/{id}
| Parameter | Type | Description |
|---|---|---|
id | string (CUID) | Snapshot identifier returned by Create Snapshot. |
Example Request
curl -s -X DELETE \
-H "Authorization: Bearer YOUR_API_KEY" \
"https://api.watchero.io/api/v1/snapshots/cmhdgfak60002mdtxnen6g2qi"Response
{
"success": true
}Error Responses
| Status | Reason |
|---|---|
400 | The id parameter fails validation. |
404 | The snapshot does not exist or does not belong to the authenticated user. |
500 | Unexpected server error. |
Deleting a snapshot cascades to its screenshots and comparison artifacts.