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

# Delete Webhook

> Stops sending to the endpoint and deletes the webhook together with its deliveries

```
DELETE /openapi/memorylake/admin/v1/webhooks/{webhook_id}
```

Stops sending to the endpoint and deletes the webhook together with its deliveries.

> [!NOTE]
>
> **Permission required:** `webhook:manage`

### Path Parameters

**webhook\_id** `string` *required*

Identifier of the webhook

```bash cURL theme={null}
curl -X DELETE 'https://app.memorylake.ai/openapi/memorylake/admin/v1/webhooks/16522a01eaa7b9feef48caafb0b487a5' \
  -H 'Authorization: Bearer sk_xxxxxx'
```

### Response

```json Success (200) theme={null}
{
  "success": true,
  "message": "Operation completed successfully",
  "data": {}
}
```

### Errors

Errors answer with `success: false`, a `message` and an `error_code`. See [Error Codes](https://docs.memorylake.ai/features/memorylake/api-reference/errors.md) for every code.

| Status | Meaning |
| - | - |
| `401` | The API key is missing, invalid, disabled or expired |
| `403` | The key is not allowed to do this |
| `404` | The resource does not exist |
| `422` | The body or a parameter failed validation |
| `429` | Too many requests. Wait for the time in `Retry-After` |
| `500` | Server-side error |


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