---
title: "Delete Webhook"
description: "Permanently delete the org's signature webhook and its delivery history. This is a hard delete and cannot be undone."
url: "https://docs.turbodocx.com/docs/API/delete-webhook"
---

# Delete Webhook

> Permanently delete the org's signature webhook and its delivery history. This is a hard delete and cannot be undone.

The Delete Webhook endpoint permanently removes a webhook and all of its delivery history. Unlike [Delete Template](https://docs.turbodocx.com/docs/API/delete-template.md), this is a hard delete: the webhook row and its delivery records are removed from the database, not deactivated. There is no un-delete.

## When to use it

Use this endpoint when you are decommissioning an integration and no longer want TurboDocx to call your endpoint. If you only want to pause delivery temporarily, use [Update Webhook](https://docs.turbodocx.com/docs/API/update-webhook.md) with `isActive: false` instead, so you keep the secret and delivery history.

## Example request

```bash
curl -X DELETE "https://api.turbodocx.com/api/webhooks/signature" \
  -H "Authorization: Bearer $TURBODOCX_API_KEY" \
  -H "x-rapiddocx-org-id: $TURBODOCX_ORG_ID" \
  -H "Accept: application/json"
```

## Example response

On success the endpoint returns `200 OK`:

```json
{
  "message": "Webhook deleted successfully"
}
```

## Common errors

| Status | When | Response body |
| ------ | ---- | ------------- |
| 401 | Missing or invalid API key/token, or the organization cannot be resolved | Empty (status only) |
| 403 | The key's role is not administrator | Empty (status only) |
| 404 | No webhook with that name exists in your organization | `{ "error": "Webhook not found" }` |

## Related endpoints

- [Get Webhook](https://docs.turbodocx.com/docs/API/get-webhook.md) to confirm the webhook's configuration before deleting it
- [Update Webhook](https://docs.turbodocx.com/docs/API/update-webhook.md) to pause delivery instead of deleting
- [Create Webhook](https://docs.turbodocx.com/docs/API/create-webhook.md) to register a new webhook afterward
