cancelquery

Cancel a query currently executing in the server.



HTTP Request: POST

Parameters:

NameValueDescriptionformat
xid

Identifier of a query, as returned by request 'listqueries'.

Response:

   mime-type: text/plain

 

Returns a single line containing "OK" if the query was found and cancelled, "idle" : if the query was found but not executing, and "unknown" if the query was not found.

Error codes:

AccessControl
if the user does not have the admin role.