> This page is optimized for agents. Use the linked Markdown pages and llms.txt indexes for related API content.

# Delete Webhook entity.

> Deletes a Webhook entity and its logged webhook events.

- Product: Webhooks
- Section: Webhook
- Snapshot: Current
- Method: `DELETE`
- Path: `/api/webhooks/{id}`

## Path parameters

### `id`

Type: `number`  
Required: yes  

## Execute with TypeScript

Package: `@recranet/sdk`  

```ts
import { RecranetApiClient } from "@recranet/sdk";

const client = new RecranetApiClient({ apiKey: process.env.RECRANET_API_KEY! });

const result = await client.webhooks.delete({
  id: 0,
});
```

## Execute with curl

```bash
curl -X DELETE "https://app.recranet.com/api/webhooks/$ID" \
    -H "X-Api-Key: $RECRANET_API_KEY"
```

## Responses

### Response `200`

Category: success  

Successful response

### Response `404`

Category: client-error  

Not found

#### `application/json`

##### Example

```json
{
  "statusCode": 404,
  "description": "Not found",
  "errors": [
    "Not found"
  ]
}
```

##### Schema

###### object

Type: `object`  

## Related representations

- [Human documentation](/webhooks/methods/delete/)
- [TypeScript Markdown](/webhooks/methods/delete.md?lang=typescript)
- [curl Markdown](/webhooks/methods/delete.md?lang=curl)
- [site llms.txt](/llms.txt)
- [product llms.txt](/webhooks/llms.txt)
- [snapshot llms.txt](/webhooks/llms.txt)
