Deletes a cloud migration task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:DeleteMigrationTask |
delete |
*All Resources
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RequestPars |
string |
No |
Extended request parameters in JSON format. |
{} |
| Id |
string |
No |
The ID of the task. |
1 |
| AcceptLanguage |
string |
No |
The language of the response. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response body. |
||
| HttpCode |
string |
HTTP status code. |
200 |
| Data |
boolean |
Deletion result. |
true |
| RequestId |
string |
Request ID. |
8BD1E58D-0755-42AC-A599-E6B55112**** |
| Message |
string |
Response message. |
The request is successfully processed. |
| ErrorCode |
string |
Error code returned on failure. |
mse-100-000 |
| Success |
boolean |
Whether the request succeeded. Valid values:
|
true |
Examples
Success response
JSON format
{
"HttpCode": "200",
"Data": true,
"RequestId": "8BD1E58D-0755-42AC-A599-E6B55112****",
"Message": "The request is successfully processed.\n",
"ErrorCode": "mse-100-000",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have permission to perform this operation: %s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.