Skip to main content
DELETE
/
hooks
/
{id}
Cancel Hook
curl --request DELETE \
  --url https://api.posthook.io/v1/hooks/{id} \
  --header 'X-API-Key: <api-key>'
Delete a hook by ID. This can be used to cancel a pending hook or remove a past hook record.

Parameters

id
string
required
The ID of the hook to cancel.

Authorizations

X-API-Key
string
header
required

Path Parameters

id
string
required

Response

200

Hook cancelled