Unbinds tags from one or more data migration, data synchronization, or change tracking instances.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | UntagResources | The operation that you want to perform. Set this parameter to UntagResources. |
RegionId | String | Yes | cn-hangzhou | The ID of the region where the data migration, data synchronization, or change tracking instance resides. For more information, see List of supported regions. |
ResourceId.N | RepeatList | Yes | dtsntk10k6r12v**** | The ID of the data migration, data synchronization, or change tracking instance. You can call the DescribeDtsJobs operation to query the instance ID. Note N specifies the serial number of the instance. For example, ResourceId.0 specifies the ID of the first instance and ResourceId.1 specifies the ID of the second instance. You can unbind tags from 1 to 50 instances at a time. |
ResourceType | String | Yes | ALIYUN::DTS::INSTANCE | The resource type. Valid value: ALIYUN::DTS::INSTANCE. |
TagKey.N | RepeatList | No | testkey1 | The tag key. Note
|
All | Boolean | No | false | Specifies whether to unbind all tags from the specified instances. Valid values:
Note
|
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 | ED3A8FE0-EEFA-4416-BC42-34D61A52**** | The ID of the request. |
Success | Boolean | true | Indicates whether the call was successful. |
Examples
Sample requests
http(s)://dts.aliyuncs.com/?Action=UntagResources
&RegionId=cn-hangzhou
&ResourceId.1=dtsntk10k6r12v****
&ResourceType=ALIYUN::DTS::INSTANCE
&<Common request parameters>
Sample success responses
XML
format
<UntagResourcesResponse>
<RequestId>ED3A8FE0-EEFA-4416-BC42-34D61A52****</RequestId>
<Success>true</Success>
</UntagResourcesResponse>
JSON
format
{
"RequestId": "ED3A8FE0-EEFA-4416-BC42-34D61A52****",
"Success": true
}
Error codes
For a list of error codes, visit the API Error Center.