Cancel a running console query
Only the user who started the query can cancel it. The statement is killed on the database server as well.
Only the user who started the query can cancel it. The statement is killed on the database server as well.
Authorization
bearerAuth In: header
Path Parameters
uuiduuidResponse Body
curl -X POST "https://example.com/v1/databases/497f6eca-6276-4993-bfeb-53cbbbba6f08/query/497f6eca-6276-4993-bfeb-53cbbbba6f08/cancel"SQL query console POST
Runs one or more statements (split on `;` outside literals, comments and dollar quotes; MySQL `DELIMITER` lines are honoured) in order on one session, stopping at the first failure. Reads run as the database's read-only role; a script with any write runs as its read-write role and requires database:write (checked before anything runs). A failing first statement is returned as an error; a later failure returns the earlier results plus `error`. Pass `query_id` (a UUID you generate) to be able to cancel the run.
Your console history for this database GET
The caller's most recent runs (up to 200 are kept per database).