Kill a Running Automatic Statistics Command

PUT api/v1.2/admin_commands/<command-id>?status=kill

Use this API to kill a running automatic statistics command.

Required Role

Users who belong to the system-admin group can make this API call.

See Managing Groups and Managing Roles for more information.

Parameters

There are no parameters for this API.

Request API Syntax

Here is the request API syntax to kill a running automatic statistics command using the CuRL utility.

curl -i -X PUT -H "X-AUTH-TOKEN:$AUTH_TOKEN" -H "Content-Type:application/json" -H "Accepts:application/json" \
"https://api.qubole.com/api/v1.2/admin_commands/<command_id>?status=kill"

Sample API Request

Here is a sample API call to kill the running automatic statistics command (with 20 as it ID).

curl -i -X PUT -H "X-AUTH-TOKEN:$AUTH_TOKEN" -H "Content-Type:application/json" -H "Accepts:application/json" \
"https://api.qubole.com/api/v1.2/admin_commands/20?status=kill"