Hooks
Delete hook
Delete a hook with the TypeScript SDK.
DEL
/hooks/{hook_id}Use blnk.Hooks.delete to permanently remove a webhook by its ID.
Call the method
const response = await blnk.Hooks.delete(
'hk_890bdbc4-467f-4670-8424-5667e41daf29',
);
| Field | Type | Description |
|---|---|---|
id | string | 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 | string | Confirmation that the hook was deleted. |