All Products
Search
Document Center

Elastic Desktop Service:UntagResources

Last Updated:Jun 11, 2026

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

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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 :

    Cloud desktop

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.