You can call the TerminateMigrateTask operation to terminate an ongoing task that is used to migrate the backup data of an ApsaraDB RDS for SQL Server instance to an Object Storage Service (OSS) bucket.


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 TerminateMigrateTask

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

DBInstanceId String Yes rm-bp159vfbuxxxxx9b5

The ID of the instance. You can call the DescribeDBInstances operation to query the IDs of instances.

MigrateTaskId String Yes 56254xxxxx

The ID of the migration task. You can call the DescribeMigrateTasks operation to query the IDs of migration tasks.

Response parameters

Parameter Type Example Description
RequestId String 1AD222E9-E606-4A42-BF6D-8A4442913CEF

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

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