Hooks
Delete hook
Delete a hook with the Python SDK.
DEL
/hooks/{hook_id}Use blnk.hooks.delete to permanently remove a webhook by its ID.
Call the method
response = blnk.hooks.delete(
"hk_890bdbc4-467f-4670-8424-5667e41daf29",
)
| Field | Type | Description |
|---|---|---|
id | str | ID of the hook to delete. |
Confirm the outcome
Check the response message to confirm the hook was removed. Blnk will no longer call this endpoint on transactions.
Response
{
"message": "hook deleted successfully"
}
| Field | Type | Description |
|---|---|---|
message | str | Confirmation that the hook was deleted. |