> ## 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.

# Ħassar webhook

> Ħassar webhook u l-kunsinni tiegħu

Ħassar webhook, is-sigrieti tiegħu u l-kunsinni tiegħu. Dan ma jistax jitreġġa' lura. Biex twaqqaf
webhook temporanjament, ibgħat `status: "disabled"` b'[Aġġorna webhook](https://docs.anivahealth.com/mt/api/webhooks/update-webhook.md).

> [!NOTE]
>
> Jeħtieġ is-scope `webhooks_manage`.

## Talba

### Parametri tal-path

**id** `string` *required*

Identifikatur tal-webhook (UUID).

## Risposta

F'każ ta' suċċess, l-API tirritorna `204 No Content` b'korp vojt.

## Risposti ta' żball

| Status | Deskrizzjoni |
| - | - |
| `400` | Talba mhux valida. Ara l-messaġġ `error`. |
| `401` | L-ebda ċavetta tal-API, jew ċavetta tal-API mhux valida. |
| `403` | Iċ-ċavetta tal-API tiegħek m'għandhiex is-scope `webhooks_manage`. |
| `404` | Il-webhook ma nstabx, jew jappartjeni lil ċavetta tal-API oħra. |
| `500` | Żball intern tas-server. |

```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.