stop-query
Written by
Updated at October 28, 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.
Request
POST
request to /queries/{query_id}/stop?project={folder_id}
, where {folder_id}
is a folder ID and {query_id}
is the query ID.
Response
If successful, an empty HTTP response with code 204 is returned.
Example
Request:
curl \
--request 'POST' \
'https://api.yandex-query.cloud.yandex.net/api/fq/v1/queries/cseugn35bc3r********/stop?project=b1gaue5b382m********' \
--header 'accept: */*' \
--data ''
Response: HTTP 204.