Releases a data migration instance.

Note After a data migration instance is released, it cannot be recovered.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteMigrationJob

The operation that you want to perform. Set the value to DeleteMigrationJob.

MigrationJobId String Yes dtsyiwe9b0gp2p****

The ID of the data migration instance. You can call the DescribeMigrationJobs operation to query all data migration instances.

RegionId String No cn-hangzhou

The ID of the region where the data migration instance resides. For more information, see List of supported regions.

AccountId String No 12323344****

The ID of the Alibaba Cloud account. You do not need to specify this parameter because this parameter will be removed in the future.

Response parameters

Parameter Type Example Description
ErrCode String InternalError

The error code returned if the call failed.

ErrMessage String The request processing has failed due to some unknown error.

The error message returned if the call failed.

RequestId String F28A96B1-F897-4246-833B-310A3345****

The ID of the request.

Success String true

Indicates whether the call was successful.

Examples

Sample requests

http(s)://dts.aliyuncs.com/? Action=DeleteMigrationJob
&MigrationJobId=dtsyiwe9b0gp2p****
&<Common request parameters>

Sample success responses

XML format

<DeleteMigrationJobResponse>
      <RequestId>F28A96B1-F897-4246-833B-310A3345****</RequestId>
      <Success>true</Success>
</DeleteMigrationJobResponse>

JSON format

{
    "RequestId": "F28A96B1-F897-4246-833B-310A3345****",
    "Success": true
}

Error codes

For a list of error codes, visit the API Error Center.