You can call this operation to untag resources.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | No | UntagResources |
Required parameter. Value: UntagResources. |
| RegionId | String | Required | cn-hangzhou |
The region ID of the instance. |
| ResourceId.N | RepeatList | Yes | drds******** |
The ID of the resource. |
| ResourceType | String | Required | INSTANCE |
The type of the resource. Set the value to INSTANCE. |
| All | Boolean | No | false |
Specifies whether to delete all tags of the resource. |
| TagKey.N | RepeatList | No | color |
The key of the tag. Note
N specifies the serial number of the tag. For example,
|
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | DSSDF-SEWE-***** |
The ID of the request. |
| Success | Boolean | true |
Indicates whether the database creation failure records were removed from the DRDS instance. |
Examples
Sample requests
http(s)://drds.aliyuncs.com/? Action=UntagResources
&RegionId=cn-hangzhou
&ResourceId.1=drds********
&ResourceType=INSTANCE
&<Common request parameters>Sample success responses
XML format
<RequestId>DSSDF-SEWE-*****</RequestId>
<Success>true</Success>JSON format
{
"RequestId": "DSSDF-SEWE-*****",
"Success": true
}Error codes
For a list of error codes, visit the API Error Center.