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

# Dzēst tīmekļa aizķeri

> Dzēst tīmekļa aizķeri un tās piegādes

Dzēs tīmekļa aizķeri, tās slepenās atslēgas un piegādes. Šo darbību nevar atsaukt. Lai apturētu
tīmekļa aizķeri, nosūti `status: "disabled"` ar [Atjaunināt tīmekļa aizķeri](https://docs.anivahealth.com/lv/api/webhooks/update-webhook.md).

> [!NOTE]
>
> Nepieciešams `webhooks_manage` tvērums.

## Pieprasījums

### Ceļa parametri

**id** `string` *required*

Tīmekļa aizķeres identifikators (UUID).

## Atbilde

Veiksmīgas izpildes gadījumā API atgriež `204 No Content` ar tukšu saturu.

## Kļūdu atbildes

| Statuss | Apraksts |
| - | - |
| `400` | Nederīgs pieprasījums. Skati `error` ziņojumu. |
| `401` | Nederīga API atslēga. |
| `403` | Nav API atslēgas vai API atslēgai trūkst `webhooks_manage` tvēruma. |
| `404` | Tīmekļa aizķere nav atrasta vai pieder citai API atslēgai. |
| `500` | Iekšēja servera kļūda. |

```bash cURL theme={null}
curl --request DELETE \
  --url https://anivahealth.com/api/v1/webhooks/4a6c8e0f-2b4d-4f6a-8c0e-2a4c6e8f0b1d \
  --header 'x-api-key: YOUR_API_KEY'
```

```json 404 theme={null}
{
  "error": "Webhook not found"
}
```


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