Queries all user properties within an Alibaba Cloud account.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ListProperty |
The operation that you want to perform. Set the value to ListProperty. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 2F4FD101-8D7B-5C97-96D6-8ACB711A7EAA |
The ID of the request. |
NextToken | String | caeba0bbb2be03f84eb48b699f0a4883 |
The token that is used for the next query. If this parameter is empty, all results have been returned. |
Properties | Array of data |
The information about the properties. |
|
PropertyId | Long | 30 |
The ID of the property. |
PropertyKey | String | department |
The name of the property. |
PropertyValues | Array of propertyValues |
Details about the property values. |
|
PropertyValueId | Long | 42 |
The ID of the property value. |
PropertyValue | String | A |
The value of the property. |
Examples
Sample requests
https://eds-user.cn-shanghai.aliyuncs.com/?Action=ListProperty
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<ListPropertyResponse>
<RequestId>2F4FD101-8D7B-5C97-96D6-8ACB711A7EAA</RequestId>
<NextToken>caeba0bbb2be03f84eb48b699f0a4883</NextToken>
<Properties>
<PropertyId>30</PropertyId>
<PropertyKey>department</PropertyKey>
<PropertyValues>
<PropertyValueId>42</PropertyValueId>
<PropertyValue>A</PropertyValue>
</PropertyValues>
</Properties>
</ListPropertyResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "2F4FD101-8D7B-5C97-96D6-8ACB711A7EAA",
"Properties" : [ {
"PropertyId" : 30,
"PropertyKey" : "department",
"PropertyValues" : [ {
"PropertyValueId" : 42,
"PropertyValue" : "A"
} ]
} ]
}