Queries a list of tag keys.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:DescribeTagKeyList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries to return on each page. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The status code. Note
A status code of 200 indicates that the request was successful. |
200 |
| Message |
string |
The error message. |
Specified parameter PageSize is not valid. |
| RequestId |
string |
The request ID. |
B04B8CF3-4489-432D-83BA-6F128E5F2293 |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| TagKeys |
object |
||
| TagKey |
array |
The list of tag keys. |
|
|
string |
A tag key. |
t0et07752s_ |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "Specified parameter PageSize is not valid.",
"RequestId": "B04B8CF3-4489-432D-83BA-6F128E5F2293",
"Success": true,
"TagKeys": {
"TagKey": [
"t0et07752s_"
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ParameterInvalid | Illegal parameters. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | AccessForbidden | User not authorized to operate on the specified resource. | |
| 404 | ResourceNotFound | The specified resource is not found. | The specified resource is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.