# org.tangled.webhook.deleteWebhook

> Delete a webhook from a repository.

- Kind: procedure
- Authority: webhook.tangled.org
- Lexicon: 1
- Published by [tangled.org](https://lexicon.garden/identity/did:plc:wshs7t2adsemcrrd4snkeqli), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.webhook.deleteWebhook)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.webhook.deleteWebhook/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.webhook.deleteWebhook/analytics)

## Procedure (`org.tangled.webhook.deleteWebhook`)

Type: procedure · POST

### Input (application/json)

- `repo` (string · did, required): DID of the repository as minted by the knot.
- `webhook` (string, required): Webhook ID to delete.

### Errors

- `WebhookNotFound`: No description in schema.

## 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
}
```
