DELETE /webhook/hooks/<record_uuid>
delete_webhook_hooks_record_uuid
204 and the hook is gone at once: the hook, its deliveries listing and a second delete all answer 404 immediately after.
API
Params
| part | value |
|---|---|
<record_uuid> |
the hook id |
Sample requests
r = c.delete(f"/webhook/hooks/{uuid}") # 204, empty body
Response codes
| status | when |
|---|---|
| 204 | deleted, no body |
| 404 | already deleted, or never a hook |
Edge cases
- The delete is immediate and total.
GETon the hook,GETon its deliveries and a secondDELETEall answer 404 in the same run, so a hook's delivery history goes with it. - There is no retire-and-revive here as there is for entities (
040_field_revive). Deleting is the only way to stop a hook other than settingstatustodisabled, which keeps it readable.