Deletes a batch processing task.
Operation description
-
Only batch processing tasks in the Ready, Failed, Suspended, or Succeeded state can be deleted.
-
To verify that a task can be deleted, call the GetBatch operation to check its status.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
imm:DeleteBatch |
delete |
*Batch
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
The name of the project, which can be obtained from the response of the CreateProject operation. |
test-project |
| Id |
string |
Yes |
The ID of the batch processing task. |
batch-4eb9223f-3e88-42d3-a578-3f2852****** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
91AC8C98-0F36-49D2-8290-742E24****** |
Examples
Success response
JSON format
{
"RequestId": "91AC8C98-0F36-49D2-8290-742E24******"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.