DescribeResourceTags
1. API Description
This API is used to retrieve all tags bound to a specific resource.
2. Input Parameters
The following request parameter list only provides API request parameters.
Parameter Name
Required
Type
Description
resourceUuids
Yes
Array of String
List of resource IDs.
3. Output Parameters
Parameter Name
Type
Description
requestId
String
The unique request ID, which is returned for each request. RequestId is required for locating a problem.
totalCount
Integer
Number of tags meeting the filtering conditions.
4. Code Example
Retrieve all tags bound to an instance.
POST /api/v2/zrm HTTP/1.1
Host: console.zenlayer.com
Content-Type: application/json
X-ZC-Action: DescribeResourceTags
<Common Request Params>
Request:
{
"resourceUuid": "resourceUuid_5250a2c5dc3d"
}
Response:
{
"requestId": "T05992D0C-7E8B-4047-B0C0-780F2CD549D3",
"response": {
"requestId": "T05992D0C-7E8B-4047-B0C0-780F2CD549D3",
"totalCount": 0,
"dataSet": [
{
"key": "key_cad9a97f5d3e",
"value": "value_311138a4d108",
"createdDate": "2025-10-14 15:57:24"
}
]
}
}
5. Developer Resources
Zenlayer Cloud API 2.0 integrates SDKs to make it easier for you to call APIs. More programming languages will be supported.
6. Error Codes
No error codes related to the API business logic. For other error codes, see Common Error Codes.
Last updated