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

# Delete Webhook Endpoint

> Delete a webhook endpoint

Permanently deletes a webhook endpoint. All pending deliveries for this endpoint are cancelled.

## Auth

<Note>Requires a valid Bearer token. User must be a member of the organization.</Note>

## Path Parameters

<ParamField path="orgId" type="string" required>
  Organization identifier.
</ParamField>

<ParamField path="id" type="string" required>
  Webhook endpoint identifier.
</ParamField>

## Response

<ResponseField name="success" type="boolean">
  Always `true` on success.
</ResponseField>

<ResponseField name="message" type="string">
  Confirmation message.
</ResponseField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "message": "Webhook endpoint deleted"
  }
  ```
</ResponseExample>

## Example

```bash theme={null}
curl -X DELETE https://api.bunship.com/api/v1/organizations/org_cld2abc123def456/webhooks/wh_abc123 \
  -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIs..."
```
