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

# Delete webhook event

> Delete webhook event via the Atoa Webhooks API, request parameters, response schema and code samples in cURL, Python, JavaScript, PHP, Go and Java.

> [!WARNING]
>
> **v1 Legacy API** — Deletes a single event subscription by its `webhookId`. For new integrations, use [Delete Endpoint (v2)](https://docs.paywithatoa.com/api-reference/webhook/v2/delete-endpoint.md) which deletes the entire endpoint and all its event subscriptions at once.

Deletes a webhook subscription from your business account.

### Authorization

Bearer `<token>`

**webhookId** `string` *required*

The unique identifier of the webhook which needs to be deleted

```json 200 theme={null}
{
  "message": "Webhook deleted successfully"
}
```

```json 401 theme={null}
{
  "name": "UNAUTHORIZED",
  "message": "Unauthorized",
  "status": 401,
  "errors": "[]"
}
```

```json 404 theme={null}
{
  "name": "NOT_FOUND",
  "message": "Webhook not found",
  "status": 404,
  "errors": "[]"
}
```

**Response**

**message** `string`

Webhook deleted successfully


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.