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

# deleteWebhook

> Deletes a webhook: delivery stops and pending deliveries are cancelled. It can't be undone; the webhook stays readable with status `DELETED`. Returns `true`, or fails with a top-level `NotFoundError`.



**mutation** `deleteWebhook(input: DeleteWebhookInput!): DeleteWebhookPayload!`

## Arguments

**`input`**: `DeleteWebhookInput!` (required)

## Returns

`DeleteWebhookPayload!`

**`boolean`**: `Boolean`

## Examples

```graphql Mutation
mutation DeleteWebhook($input: DeleteWebhookInput!) {
  deleteWebhook(input: $input) {
    boolean
  }
}
```

```json Variables
{
  "input": {
    "id": "id"
  }
}
```

```json Response
{
  "data": {
    "deleteWebhook": {
      "boolean": true
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.