Skip to main content
DELETE
/
v1
/
me
/
webhooks
/
{id}
`DELETE /v1/me/webhooks/{id}` — deactivate a webhook subscription (soft-delete: is_active=false, keeping its delivery history).
curl --request DELETE \
  --url https://api.pegana.xyz/v1/me/webhooks/{id} \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

Session JWT issued by POST /v1/auth/telegram (Telegram Login Widget) or POST /v1/auth/magic/consume. Send as Authorization: Bearer <jwt>.

Path Parameters

id
string<uuid>
required

Webhook subscription id

Response

Webhook deactivated