KillJobs
Terminates a running job.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
odps:KillJobs |
update |
*All Resource
|
None | None |
Request syntax
POST /api/v1/jobs/kill HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| tenantId |
string |
No |
The ID of the tenant. |
478403690625249 |
| region |
string |
No |
The ID of the region in which the instance resides. |
cn-hangzhou |
| body |
string |
No |
The request body parameters. |
[ { "instanceId": "", "projectName": "" }, { "instanceId": "", "projectName": "" } ] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PopResult |
||
| requestId |
string |
The ID of the request. |
0abb7ede16814560741256732e91b6 |
| httpCode |
integer |
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 |
| data |
string |
The returned data. |
success |
Examples
Success response
JSON format
{
"requestId": "0abb7ede16814560741256732e91b6",
"httpCode": 200,
"data": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.