Snag Watcher

API reference

Delete a watcher

DELETE /v1/watchers/{id}

Stops the watcher and deletes its snapshots and events. Webhooks still queued for it aren't sent. A follow-up watcher it created keeps running, with parent_id set to null.

Shell
curl -X DELETE https://api.watcher.staging.manwhas.shop/v1/watchers/wch_dhjqcvaqnhrchsnv7gtc -H "Authorization: Bearer $SNAG_KEY"

It returns 204 No Content. A watcher that doesn't exist or isn't yours returns 404.