---
title: "ezgh obs queries cancel"
description: "Cancel a queued or running async query."
---

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

# ezgh obs queries cancel

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh obs queries cancel <query-id>
```

Cancel an async query that's queued, or ask a running one to stop. A finished query can't be cancelled (query_finished).

Part of [`ezgh obs queries`](/cli/reference/obs-queries).

## Flags

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/obs-queries-cancel/index.mdx
