Queries the tag values corresponding to a specified tag key.

This topic provides an example of how to query the tag values corresponding to tagKey1. The return results are tagValue1 and tagValue2.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeTagValueList

The operation that you want to perform. Set the value to DescribeTagValueList.

TagKey String Yes tagKey1

The key of the tag whose values you want to query.

For more information about how to obtain a tag key, see DescribeTagKeyList.

PageNumber Integer No 1

The number of the page to return.

Pages start from page 1. Default value: 1.

PageSize Integer No 10

The number of entries to return on each page.

Valid values: 1 to 100. Pages start from page 1. Default value: 50.

For more information about common request parameters, see Common parameters.

Response parameters

Parameter Type Example Description
RequestId String B04B8CF3-4489-432D-83BA-6F128E4F2295

The ID of the request.

Message String The specified resource is not found.

The error message.

Code String 200

The HTTP status code.

Note The value 200 indicates that the call was successful.
Success Boolean true

Indicates whether the call was successful. Valid values:

  • true: The call was successful.
  • false: The call failed.
TagValues List ["tagValue1", "tagValue2"]

The tag values returned.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

	"RequestId": "9AF637BA-6617-41FE-A0FA-3301521377A4",
	"TagValues": {
		"TagValue": [
	"Success": true,
	"Code": 200

Error codes

Http status code Error code Error message Description
404 ResourceNotFound The specified resource is not found. The error message returned because the specified resource does not exist.

For a list of error codes, visit the API Error Center.