# Delete a webhook

`DELETE /client_api/v2/webhooks/{id}`

Stops the webhook. We send it nothing more.

## Parameters

- `id` (integer, required): The webhook's id.

## Returns

Returns the result.

- `success` (boolean, required): Always `false` on an error. A successful delete answers `true`.
- `error` (string, required): What went wrong, in one sentence. Empty on success.
- `errors` (array of values, required): Each reason the request was refused, one per entry. Often empty, in which case `error` says it all.

## Errors

- `401 Unauthorized`: The token is missing, expired or invalid. Sign in again.

## Example request (curl)

```bash
curl -X DELETE "https://sandbox-api.vatit-stream.com/client_api/v2/webhooks/2" \
  -H "Authorization: Bearer $API_TOKEN"
```

## Example response (200)

```json
{
  "success": true,
  "error": "",
  "errors": []
}
```
