# place.stream.server.deleteWebhook

> Published by [did:web:longos.iameli.link](https://lexicon.garden/identity/did:web:longos.iameli.link)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:longos.iameli.link/place.stream.server.deleteWebhook)
- [Documentation](https://lexicon.garden/lexicon/did:web:longos.iameli.link/place.stream.server.deleteWebhook/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:longos.iameli.link/place.stream.server.deleteWebhook/examples)

## Definitions

### `place.stream.server.deleteWebhook`

**Type**: `procedure`

Delete an existing webhook.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `id` | `string` | Yes | The ID of the webhook to delete. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `success` | `boolean` | Yes | Whether the webhook was successfully deleted. |

#### Errors

- **WebhookNotFound**: The specified webhook was not found.
- **Unauthorized**: The authenticated user does not have access to this webhook.

## Raw Schema

```json
{
  "id": "place.stream.server.deleteWebhook",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "id"
          ],
          "properties": {
            "id": {
              "type": "string",
              "description": "The ID of the webhook to delete."
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "WebhookNotFound",
          "description": "The specified webhook was not found."
        },
        {
          "name": "Unauthorized",
          "description": "The authenticated user does not have access to this webhook."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "success"
          ],
          "properties": {
            "success": {
              "type": "boolean",
              "description": "Whether the webhook was successfully deleted."
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": null,
      "description": "Delete an existing webhook."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
