21.7.4 Cancel an Asynchronous Query Execution
DELETE
https://localhost:7007/v2/runQueryAsync/<result_id>
Cancel the execution of an asynchronous query.
Version: v2
Request
Request Header
- Accept:
application/json; charset=UTF-8 - Header:
Authorization: Bearer <token> - Content-Type:
application/json
Request Path Parameter:
result_id:PGQL query execution resultid.
Response
- 200 Accepted
- Content-Type:
application/json
cURL Example
curl --location --request DELETE 'https://localhost:7007/v2/runQueryAsync/<result-id>' /
--header 'Authorization: Bearer <token>'
Parent topic: Asynchronous REST Endpoints