Retrieves account labels.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:GetAccountLabel |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
Specifies the language type for requests and response messages. Default value: zh. Valid values:
|
zh |
| LabelList |
array |
Yes |
The labels. |
|
|
string |
No |
The list of labels. Valid values:
|
["SasStep"] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. 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 list of labels. |
|
|
object |
The list of labels. |
||
| 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 | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.