Cancel a query
409 query_finished when it has already succeeded, failed or been cancelled.
https://audit.ezghcloud.com/v1/organizations/{orgId}/queries/{queryId}Authorization
Path parameters
Returns
200
It was queued, and is cancelled.
202
It's running, and its worker has been asked to stop it.
400
invalid_request, invalid_cursor, invalid_query (with line and column), or lookup_too_broad.
403
access_denied: the caller's policies don't allow the action; forbidden_origin: a cookie-authenticated write from an origin that isn't allowed.
404
not_found: unknown, malformed, or in an organization the caller isn't in.
409
query_not_finished (with Retry-After), query_failed (with reason), query_cancelled or query_finished.
429
too_many_requests or too_many_queries, with Retry-After; or quota_exceeded (with quota), never with Retry-After.
500
internal_error: a bug; the details are in the logs, under the request ID.