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

# pauseEventDestination

> Pauses an `ACTIVE` event destination. A push destination stops delivering and its pending deliveries are cancelled; a durable consumer hands out no new batches, though leased ones can still be acknowledged. Fails with a top-level `ConflictError` if it isn't `ACTIVE`.



**mutation** `pauseEventDestination(input: PauseEventDestinationInput!): PauseEventDestinationPayload!`

## Arguments

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

## Returns

`PauseEventDestinationPayload!`

**`eventDestination`**: `EventDestination`

## Examples

```graphql Mutation
mutation PauseEventDestination($input: PauseEventDestinationInput!) {
  pauseEventDestination(input: $input) {
    eventDestination {
      createdAt
      filter
      filterDialectVersion
      id
      name
      startsAfterSequence
    }
  }
}
```

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

```json Response
{
  "data": {
    "pauseEventDestination": {
      "eventDestination": {
        "createdAt": "value",
        "filter": "string",
        "filterDialectVersion": 1,
        "id": "value",
        "name": "string",
        "startsAfterSequence": "string"
      }
    }
  }
}
```


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