Deletes a migration task.
Operation description
-
Deleting a migration task requires the
mgw:DeleteImportJobpermission. -
Deletion is asynchronous. The task remains in the Deleting state until it is fully removed.
Try it now
Test
RAM authorization
Request syntax
DELETE /job/{jobName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| jobName |
string |
Yes |
The task name. |
test_job_name |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| forceDelete |
boolean |
No |
Whether to forcibly delete subtasks. If the task has subtasks and this parameter is set to true, the task and all its subtasks are deleted. If set to false, the task and its subtasks fail to be deleted. |
true |
Response elements
|
Element |
Type |
Description |
Example |
None defined.
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.