Batch releases data migration, synchronization, or change tracking tasks.
You cannot release a subscription Data Transmission Service (DTS) instance.
Debug
You can run this API directly in the OpenAPI Explorer that automatically calculates the signature value. Upon successful execution, OpenAPI Explorer automatically generates SDK code samples.linkspan
Request parameters
Parameter | Type | Required | Example | Description |
Action | String | Yes | DeleteDtsJobs | The operation that you want to perform. Set the value to DeleteDtsJobs. |
DtsJobIds | String | Yes | l5o11f9029c**** | The ID of the data migration, data synchronization, or change tracking task. Note
|
RegionId | String | No | cn-hangzhou | The region ID of the DTS instance. See Supported regions. |
ZeroEtlJob | Boolean | No | true | This parameter is only for special services and not required. |
ResourceGroupId | String | No | rg3m1213ye7l**** | This parameter is only for special services and not required. |
Response parameters
Parameter | Type | Example | Description |
HttpStatusCode | Integer | 200 | The HTTP status code. |
RequestId | String | AD823BD3-1BA6-4117-A536-165CB280**** | The ID of the request. |
ErrCode | String | InternalError | The error code returned if the request failed. |
Success | Boolean | true | Indicates whether the request was successful. |
ErrMessage | String | The Value of Input Parameter %s is not valid. | The error message returned if the request failed. |
DynamicMessage | String | DtsJobId | The dynamic part in the error message. The value of this parameter is used to replace %s in the value of ErrMessage. Note For example, if the return value of ErrMessage is The Value of Input Parameter %s is not valid and the return value of DynamicMessage is DtsJobId, the specified value of DtsJobId is invalid. |
DynamicCode | String | 403 | The dynamic error code. This parameter will be removed in the future. |
Examples
Sample requests
http(s)://dts.aliyuncs.com/?Action=DeleteDtsJobs
&DtsJobIds=l5o11f9029c****
&RegionId=cn-hangzhou
&<Common request parameters>
Sample success responses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteDtsJobsResponse>
<RequestId>AD823BD3-1BA6-4117-A536-165CB280****</RequestId>
<HttpStatusCode>200</HttpStatusCode>
<Success>true</Success>
</DeleteDtsJobsResponse>JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "AD823BD3-1BA6-4117-A536-165CB280****",
"HttpStatusCode" : 200,
"Success" : true
}Error codes
HttpCode | Error code | Error message | Description |
400 | Throttling.User | Request was denied due to user flow control. | The number of requests exceeded the upper limit, and the request was rejected. Try again later. |
500 | ServiceUnavailable | The request has failed due to a temporary failure of the server. | The response of the server timed out or the server was unavailable. Try again. If the error persists, contact technical support. |
403 | InvalidSecurityToken.Expired | Specified SecurityToken is expired. | The signature expired. Use a new signature. |
For a list of error codes, see Error Codes.