Chat icon

Chat

Interact with the Chat API

Actions253

Integration → Delete Hook

AI-generated

Summary

Delete a hook from the selected integration

Inputs

  • accountId (required) — Select the integration account to operate on; can be chosen from a list or provided by ID (numeric).
  • hookId (required) — The numeric ID of the hook to delete.

Output shape

no body — success/failure only

The operation returns no payload; it either succeeds silently or throws an error if the hook does not exist or access is denied.

Examples

Example 1: Delete a specific chat webhook

accountId set to 'My Service', hookId set to 123

Example 2: Remove a webhook used for outdated notifications

accountId chosen from the list, hookId = 456

Example 3: Clean up unused integration hooks

accountId selected, hookId entered manually (e.g., 789)

Links

Discussion