ListUsers
Queries the user list.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gemp:ListUsers |
get |
*All Resource
|
None | None |
Request syntax
POST /user/list HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| username |
string |
No |
The personnel name. |
Mr. Zhang |
| phone |
string |
No |
The personnel phone number. |
1887879**** |
| ramId |
string |
No |
The ID of the Resource Access Management (RAM) users. |
1344383 |
| scene |
integer |
No |
The query scene. Valid values:
|
0 |
| clientToken |
string |
No |
The idempotency token. |
c26f36de-1ec8-496a-a828-880676c5ef81 |
| pageNumber |
integer |
No |
The page number. |
1 |
| pageSize |
integer |
No |
The page size. |
10 |
| synergyChannel |
string |
No |
The mobile application channel. |
DINGDING |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response structure. |
||
| requestId |
string |
The request ID. |
c26f36de-1ec8-496a-a828-880676c5ef81 |
| data |
array<object> |
The returned result. |
|
|
object |
The user information. |
||
| userId |
integer |
The user ID. |
1234 |
| ramId |
integer |
The RAM user ID. |
53624523 |
| username |
string |
The username. |
Mr. Zhang |
| phone |
string |
The phone number. |
1887879**** |
|
string |
The email address. |
2345****@qq.com |
|
| isEditableUser |
integer |
Specifies whether the user is editable. Valid values:
|
1 |
| accountType |
integer |
The type of Resource Access Management (RAM) users. Valid values:
|
1 |
| appAccount |
string |
The mobile application account. |
23456tre |
| synergyChannel |
string |
The mobile application synergy channel. |
DINGDING |
| isRelated |
string |
Specifies whether the user is associated. Valid values:
|
RELATED |
| isOperation |
integer |
Specifies whether operations such as deletion and dissociation can be performed. Valid values:
|
1 |
| isRam |
integer |
Specifies whether the account is an Alibaba Cloud account. Valid values:
|
1 |
| roleIdList |
array |
The list of role IDs. |
|
|
integer |
The list of role IDs. |
10001 |
|
| roleNameList |
array |
The list of role names. |
|
|
string |
The list of role names. |
Test |
|
| isActive |
integer |
Specifies whether the account is activated. Valid values:
|
1 |
| gmtCreate |
string |
The creation time. |
2021-09-09 09:09:09 |
| gmtActive |
string |
The account activation time. |
2021-09-09 09:09:09 |
| totalCount |
integer |
The total number of entries. |
100 |
| pageNumber |
integer |
The page number. |
1 |
| pageSize |
integer |
The page size. |
10 |
Examples
Success response
JSON format
{
"requestId": "c26f36de-1ec8-496a-a828-880676c5ef81",
"data": [
{
"userId": 1234,
"ramId": 53624523,
"username": "Mr. Zhang",
"phone": "1887879****",
"email": "2345****@qq.com",
"isEditableUser": 0,
"accountType": 1,
"appAccount": "23456tre",
"synergyChannel": "DINGDING",
"isRelated": "RELATED",
"isOperation": 1,
"isRam": 1,
"roleIdList": [
10001
],
"roleNameList": [
"Test"
],
"isActive": 1,
"gmtCreate": "2021-09-09 09:09:09",
"gmtActive": "2021-09-09 09:09:09"
}
],
"totalCount": 100,
"pageNumber": 1,
"pageSize": 10
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.