All Products
Search
Document Center

WUYING Workspace:UntagResources

Last Updated:Apr 08, 2024

Removes tags from cloud computers. After you remove a tag, if the tag is not added to a cloud computer, the tag is automatically deleted.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
ResourceTypestringYes

The type of the resource.

Valid values:

  • ALIYUN::GWS::INSTANCE: cloud computer.
ALIYUN::GWS::INSTANCE
AllbooleanYes

Specifies whether to unbind all tags from the resource. This parameter takes effect only when TagKey.N is not specified. Default value: false.

false
ResourceIdarrayYes

The resource IDs, which are cloud computer IDs. You can specify 1 to 50 IDs.

stringYes

The resource ID, which is the cloud computer ID.

ecd-ia2zw38bi6cm7****
TagKeyarrayNo

The tag keys. You can specify 1 to 20 tag keys.

stringNo

The tag key.

TestKey

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

1CBAFFAB-B697-4049-A9B1-67E1FC5F****

Examples

Sample success responses

JSONformat

{
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history