Platitun · API · Event subscription · Turn delivery off

Turn delivery off

DELETE /api/v1/hooks

Key scope: hooks · changes data, the Idempotency-Key header is required

The subscription is deleted and the delivery log goes with it: the log is about delivery to that address, and keeping it without the address is pointless. Order polling keeps working as before.

Response fields

FieldTypeWhat it is
removedbooleanTurned off.

Refusal reasons

A rule refusal arrives as {"error":"rejected","refusal":{"kind":"…"}} with status 409. Refusals common to all endpoints are in the rules section.

CodeWhat happened and what to do
not_foundThe record does not exist or is not yours. The ownership condition is in the database query itself, so someone else’s record looks like a missing one.

Nearby in this section