Identity Provider API, gRPC: UserService.List
Retrieves the list of users in the specified userpool.
gRPC request
rpc List (ListUsersRequest) returns (ListUsersResponse)
ListUsersRequest
{
"userpool_id": "string",
"page_size": "int64",
"page_token": "string",
"filter": "string"
}
Request to list users in a userpool.
|
Field |
Description |
|
userpool_id |
string Required field. ID of the userpool to list users in. |
|
page_size |
int64 The maximum number of results per page to return. |
|
page_token |
string Page token for pagination. |
|
filter |
string A filter expression that filters resources listed in the response. |
ListUsersResponse
{
"users": [
{
"id": "string",
"userpool_id": "string",
"status": "Status",
"username": "string",
"full_name": "string",
"given_name": "string",
"family_name": "string",
"email": "string",
"phone_number": "string",
"created_at": "google.protobuf.Timestamp",
"updated_at": "google.protobuf.Timestamp",
"external_id": "string"
}
],
"next_page_token": "string"
}
Response message for UserService.List.
|
Field |
Description |
|
users[] |
List of users. |
|
next_page_token |
string Token for getting the next page of the list. |
User
A user in the Identity Provider system.
Users are created within a userpool and can authenticate to access cloud resources.
Each user has a unique identifier, credentials, and profile information.
|
Field |
Description |
|
id |
string Unique identifier of the user. |
|
userpool_id |
string ID of the userpool this user belongs to. |
|
status |
enum Status Current status of the user.
|
|
username |
string Username used for authentication. |
|
full_name |
string User's full name (display name). |
|
given_name |
string User's first name. |
|
family_name |
string User's last name. |
|
|
string User's email address. |
|
phone_number |
string User's phone number. |
|
created_at |
Timestamp when the user was created. |
|
updated_at |
Timestamp when the user was last updated. |
|
external_id |
string External identifier for federation with external identity systems. |