`PATCH /v1/me/webhooks/{id}` — partial update of a subscription keeping its `id` (and so its `webhook_deliveries` history) intact.
The previous “delete + re-create” workflow orphaned the audit trail under a new id. This endpoint keeps continuity for dashboards and replay.
Returns the full webhook row after the update. 404 if the id belongs to a different user (no existence-leak).
Authorizations
Session JWT issued by POST /v1/auth/telegram (Telegram Login Widget) or POST /v1/auth/magic/consume. Send as Authorization: Bearer <jwt>.
Path Parameters
Webhook subscription id
Body
Toggle active state without deleting the row. Useful for pause-then-resume during receiver maintenance.
Replace the alert threshold (1..10000 bps). Omit to leave unchanged.
Replace the destination URL. SSRF + length guards re-applied; omit to leave unchanged.