Removes tags from cloud desktops. After a tag is removed, if the tag is not added to any cloud desktop, the tag is automatically deleted.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. You can call the DescribeRegions operation to query the regions supported by Elastic Desktop Service (EDS). |
cn-hangzhou |
| ResourceType |
string |
Yes |
The type of the resource. Valid values:
|
ALIYUN::GWS::INSTANCE |
| All |
boolean |
No |
Specifies whether to unbind all tags from the resource. This parameter takes effect only when TagKey.N is not specified. Default value: false. |
false |
| ResourceId |
array |
Yes |
The IDs of the resources, that is, the IDs of the cloud desktops. You can specify 1 to 50 IDs. |
ecd-ia2zw38bi6cm7**** |
|
string |
No |
The ID of the resource, that is, the ID of the cloud desktop. |
ecd-ia2zw38bi6cm7**** |
|
| TagKey |
array |
No |
The tag keys. You can specify 1 to 20 tag keys. |
TestKey |
|
string |
No |
The tag key. |
department |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned object. |
||
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
Examples
Success response
JSON format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.