Click or drag to resize

IAqlFunctionApiClient.DeleteKillRunningAqlQueryAsync Method

Kills an AQL query in the currently selected database or in all databases. DELETE /_api/query/{query-id}

Namespace:  ArangoDBNetStandard.AqlFunctionApi
Assembly:  ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax
Task<ResponseBase> DeleteKillRunningAqlQueryAsync(
	string queryId,
	DeleteKillRunningAqlQueryQuery query = null
)

Parameters

queryId
Type: System.String
The id of the query to kill.
query (Optional)
Type: ArangoDBNetStandard.AqlFunctionApi.Models.DeleteKillRunningAqlQueryQuery
The query parameters of the request. If All parameter is set to true, it will attempt to kill the specified query in all databases, not just the selected one.

Return Value

Type: Task<ResponseBase>
Remarks
Kills a running query in the currently selected database. The query will be terminated at the next cancelation point. Using the All parameter is only allowed in the system database and with superuser privileges.
See Also