---
title: "Delete a webhook"
url: https://hexelstudio.com/docs/api/harness/webhooks/delete
---

# Delete a webhook

**DELETE** `/harness/webhooks/{id}`

## Headers

- `Authorization: string`

  `Bearer <token>`. A Hexel Studio access token for your organization.

- `X-Workspace-Id: string`

  The workspace the request acts in (`ws_...`). It never grants access by itself.

- `X-Environment-Id: string`

  The environment the request acts in (`env_...`). It never grants access by itself.

## Returns

`204` Deleted.

## Errors

- `default` 

## Example

```bash
curl --request DELETE \
  --url 'https://api.hexelstudio.com/v1/harness/webhooks/{id}' \
  --header "Authorization: Bearer $ACCESS_TOKEN" \
  --header 'X-Workspace-Id: X_WORKSPACE_ID' \
  --header 'X-Environment-Id: X_ENVIRONMENT_ID'
```
