All Products
Search
Document Center

MaxCompute:KillJobs

Last Updated:Mar 03, 2024

Terminates a running job.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /api/v1/jobs/kill

Request parameters

ParameterTypeRequiredDescriptionExample
tenantIdstringNo

The ID of the tenant.

478403690625249
regionstringNo

The ID of the region in which the instance resides.

cn-hangzhou
bodystringNo

The request body parameters.

[ { "instanceId": "", "projectName": "" }, { "instanceId": "", "projectName": "" } ]

Response parameters

ParameterTypeDescriptionExample
object

PopResult

requestIdstring

The ID of the request.

0abb7ede16814560741256732e91b6
httpCodeinteger

Indicates whether the request was successful. If this parameter was not empty and the value of this parameter was not 200, the request failed.

200
datastring

The returned data.

success

Examples

Sample success responses

JSONformat

{
  "requestId": "0abb7ede16814560741256732e91b6",
  "httpCode": 200,
  "data": "success"
}

Error codes

For a list of error codes, visit the Service error codes.