# Delete a webhook endpoint

`DELETE /webhook-endpoints/{endpoint_id}`

Stops all deliveries to this URL. Deliveries already queued are dropped.

Server: `https://api.relaypoint.example/v1`

Authentication: bearerAuth (http bearer)

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `endpoint_id` | path | string | yes |  |

## Example request (curl)

```shell
curl https://api.relaypoint.example/v1/webhook-endpoints/whe_7c1n4r \
  --request DELETE \
  --header 'Authorization: Bearer YOUR_TOKEN'
```

## Responses

### 204 — Deleted.

### 404 — The id doesn't exist in this workspace.

`application/json` · Error

- `error` · object
  - `code` · string
  - `message` · string
  - `field` · string
