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

# Delete webhooks

> Delete an existing webhook.

## Delete a webhook

<Note>
  **DELETE** `v2/webhooks/{webhookId}?accountId={accountId}`
</Note>

### Request

Use this request to delete an existing webhook.

If you have a user-level API key, you need to specify an `accountId` to use this request.
If you have a product-level API key, you can choose to delete this webhook across all accounts by omitting the `accountId` query parameter.

<CodeGroup>
  ```bash Sample request theme={null}
  curl -i -X DELETE \
    'https://api.equalsmoney.com/v2/webhooks/d7d34e0f-c6e9-4cea-8c25-baaffa81714f' \
    -H 'Authorization: ApiKey YOUR_API_KEY_HERE'
  ```

  ```bash Request structure theme={null}
  curl -i -X DELETE \
    'https://api.equalsmoney.com/v2/webhooks/{webhookId}' \
    -H 'Authorization: ApiKey YOUR_API_KEY_HERE'
  ```
</CodeGroup>

#### Path parameters

<ParamField body="webhookId" type="string" required>
  The ID of the webhook that you want to delete.

  Allowable values: An existing `webhookId` (≤ 36 characters)
</ParamField>

#### Query parameters

<ParamField body="accountId" type="string">
  The account ID to filter the response with. This is required if you have a user-level API key.

  Allowable values: An existing `accountId` (≤ 36 characters)
</ParamField>

### Response

If your request is successful, you'll receive a `204` response.

For more detailed information about this request and its response, [see the API reference](/api-reference/webhooks/delete-a-webhook).
