Retrieves account labels.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language type for the request and response messages. Default value: zh. Valid values:
|
zh |
| LabelList |
array |
Yes |
The labels. |
|
|
string |
No |
The label list. Valid values:
|
["SasStep"] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. It is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot issues. |
7BC55C8F-226E-5AF5-9A2C-2EC43864**** |
| AccountLabelList |
array<object> |
The label list. |
|
|
object |
The label list. |
||
| LabelSeries |
string |
The label information. |
SasStep |
| LabelStatus |
boolean |
The label status. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "7BC55C8F-226E-5AF5-9A2C-2EC43864****",
"AccountLabelList": [
{
"LabelSeries": "SasStep",
"LabelStatus": true
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParam | Illegal param | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.