ListTags
Updated at:
Queries all tags created by the user in the current region.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:ListTags |
get |
*All Resource
|
None | None |
Request syntax
GET /openapi/tags/all-tags HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| pageSize |
integer |
No |
The number of entries per page. Default value: 20. Minimum value: 1. Maximum value: 50. |
20 |
| resourceType |
string |
No |
The resource type. Set to INSTANCE. |
INSTANCE |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1D*** |
| Result |
array<object> |
The returned result. |
|
|
object |
|||
| TagValue |
string |
The tag value. |
dev |
| TagKey |
string |
The tag key. |
env |
Examples
Success response
JSON format
{
"RequestId": "5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1D***",
"Result": [
{
"TagValue": "dev",
"TagKey": "env"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.
Is this page helpful?