Identity Provider API, REST: User.List
Retrieves the list of users in the specified userpool.
HTTP request
GET https://organization-manager.api.yandexcloud.kz/organization-manager/v1/idp/users
Query parameters
Request to list users in a userpool.
|
Field |
Description |
|
userpoolId |
string Required field. ID of the userpool to list users in. |
|
pageSize |
string (int64) The maximum number of results per page to return. |
|
pageToken |
string Page token for pagination. |
|
filter |
string A filter expression that filters resources listed in the response. |
Response
HTTP Code: 200 - OK
{
"users": [
{
"id": "string",
"userpoolId": "string",
"status": "string",
"username": "string",
"fullName": "string",
"givenName": "string",
"familyName": "string",
"email": "string",
"phoneNumber": "string",
"createdAt": "string",
"updatedAt": "string",
"externalId": "string"
}
],
"nextPageToken": "string"
}
Response message for UserService.List.
|
Field |
Description |
|
users[] |
List of users. |
|
nextPageToken |
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. |
|
userpoolId |
string ID of the userpool this user belongs to. |
|
status |
enum (Status) Current status of the user.
|
|
username |
string Username used for authentication. |
|
fullName |
string User's full name (display name). |
|
givenName |
string User's first name. |
|
familyName |
string User's last name. |
|
|
string User's email address. |
|
phoneNumber |
string User's phone number. |
|
createdAt |
string (date-time) Timestamp when the user was created. String in RFC3339 To work with values in this field, use the APIs described in the |
|
updatedAt |
string (date-time) Timestamp when the user was last updated. String in RFC3339 To work with values in this field, use the APIs described in the |
|
externalId |
string External identifier for federation with external identity systems. |