> ## Documentation Index
> Fetch the complete documentation index at: https://sbmg.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Unsubscribe

> Unsubscribe from receiving events for a specific webhook.

## Query

<ParamField query="hook_id" type="string" required>
  The unique identifier of the webhook to unsubscribe.
</ParamField>

<RequestExample>
  ```bash Example Request theme={null}
  curl --location --request DELETE 'https://api.sbmg.app/webhook?hook_id=234' \
  --header 'x-api-key: YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
      "message": "Webhook unsubscribed successfully"
  }
  ```
</ResponseExample>
