> ## 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.

# deleteEventDestination

> Deletes an event destination: delivery stops and pending deliveries are cancelled; a durable consumer's position and open leases are dropped. It can't be undone; the destination stays readable with status `DELETED`. Returns `true`, or fails with a top-level `NotFoundError`.



**mutation** `deleteEventDestination(input: DeleteEventDestinationInput!): DeleteEventDestinationPayload!`

## Arguments

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

## Returns

`DeleteEventDestinationPayload!`

**`boolean`**: `Boolean`

## Examples

```graphql Mutation
mutation DeleteEventDestination($input: DeleteEventDestinationInput!) {
  deleteEventDestination(input: $input) {
    boolean
  }
}
```

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

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


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