stop-query
Written by
Updated at May 13, 2024
The method stops a query.
When using the HTTP API, authenticate and specify the required headers. You can also specify optional headers for setting up request execution. The HTTP API may return errors while running.
Query
POST
request to /queries/{query_id}/stop?project={folder_id}
, where {folder_id}
is the folder ID and {query_id}
is the query ID.
Response
If successful, an empty HTTP response with code 204 is returned.
Example
Query:
curl -X 'POST' \
'https://api.yandex-query.cloud.yandex.net/api/fq/v1/queries/cseugn35bc3r********/stop?project=b1gaue5b382m********' \
-H 'accept: */*' \
-d ''
Response: HTTP 204.