Skip to main content

Delete a webhook

DELETE v2/webhooks/{webhookId}?accountId={accountId}

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.

Path parameters

webhookId
string
required
The ID of the webhook that you want to delete.Allowable values: An existing webhookId (≤ 36 characters)

Query parameters

accountId
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)

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.