Queries the tags of the current user.

Debugging

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

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeDcdnUserTags

The operation that you want to perform. Valid values: DescribeDcdnUserTags.

Response parameters

Parameter Type Example Description
RequestId String 34AB41F1-04A5-496F-8C8D-634BDBE6A9FB

The ID of the request.

Tags Array of Tag

The tags.

Key String region

The key of the returned tag.

Value List hangzhou

The value of the returned tag.

Examples

Sample requests

http(s)://dcdn.aliyuncs.com/? Action=DescribeDcdnUserTags
&<Common request parameters>

Sample success responses

XML format

<DescribeDcdnUserTagsResponse>
  <Tags>
        <Key>env</Key>
        <Value>product</Value>
        <Value>pre</Value>
        <Value>daily</Value>
  </Tags>
  <Tags>
        <Key>region</Key>
        <Value>hangzhou</Value>
  </Tags>
  <RequestId>34AB41F1-04A5-496F-8C8D-634BDBE6A9FB</RequestId>
</DescribeDcdnUserTagsResponse>

JSON format

{
  "Tags": [
    {
      "Key": "env",
      "Value": [
        "product",
        "pre",
        "daily"
      ]
    },
    {
      "Key": "region",
      "Value": [
        "hangzhou"
      ]
    }
  ],
  "RequestId": "34AB41F1-04A5-496F-8C8D-634BDBE6A9FB"
}

Error codes

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