# org.tangled.webhook.deleteWebhook

> Published by [tangled.org](https://lexicon.garden/identity/did:plc:wshs7t2adsemcrrd4snkeqli)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.webhook.deleteWebhook)
- [Documentation](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.webhook.deleteWebhook/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.webhook.deleteWebhook/examples)

## Definitions

### `org.tangled.webhook.deleteWebhook`

**Type**: `procedure`

Delete a webhook from a repository.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `repo` | `string` (did) | Yes | DID of the repository as minted by the knot. |
| `webhook` | `string` | Yes | Webhook ID to delete. |

#### Errors

- **WebhookNotFound**

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Delete a webhook from a repository.",
      "errors": [
        {
          "name": "WebhookNotFound"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "repo": {
              "description": "DID of the repository as minted by the knot.",
              "format": "did",
              "type": "string"
            },
            "webhook": {
              "description": "Webhook ID to delete.",
              "type": "string"
            }
          },
          "required": [
            "repo",
            "webhook"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "org.tangled.webhook.deleteWebhook",
  "lexicon": 1
}
```
