Queries existing tag keys.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:ListTagKeys |
get |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| MaxResults |
integer |
No |
The maximum number of results per page. Valid values: 10 to 100. Default value: 50. |
50 |
| NextToken |
string |
No |
The token used to retrieve the next page. |
djsdlkasd |
| ResourceType |
string |
No |
The resource type that the tag is added to. |
template |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| NextToken |
string |
The token used to retrieve the next page. |
87y29h80h20h3f2 |
| RequestId |
string |
The request ID. |
36210B73-8262-4D08-9D3A-7F96789733C8 |
| MaxResults |
integer |
The maximum number of results per page. |
50 |
| Keys |
array |
The tag keys. |
|
|
string |
The tag key. |
k3 |
Examples
Success response
JSON format
{
"NextToken": "87y29h80h20h3f2",
"RequestId": "36210B73-8262-4D08-9D3A-7F96789733C8",
"MaxResults": 50,
"Keys": [
"k3"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.