- Root
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
- /POST
/
POST
/
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/' \
--header 'X-Amz-Target;' \
--header 'Content-Type: application/json' \
--data-raw '{
"UserPoolId": "string",
"AttributesToGet": [],
"Limit": 0,
"PaginationToken": "string",
"Filter": "string"
}'
Response Response Example
200 - Example 1
{
"Users": [],
"PaginationToken": "string"
}
Request
Query Params
Limit
stringÂ
optional
PaginationToken
stringÂ
optional
Header Params
X-Amz-Target
stringÂ
required
Body Params application/json
Represents the request to list users.
UserPoolId
stringÂ
required
>= 1 characters<= 55 characters
Match pattern:
[\w-]+_[0-9a-zA-Z]+
AttributesToGet
array[string]
optional
Limit
integerÂ
optional
>= 0<= 60
PaginationToken
stringÂ
optional
>= 1 characters
Match pattern:
[\S]+
Filter
stringÂ
optional
family_name
= "Reddy"".-
AttributeName: The name of the attribute to search for. You can only search for one attribute at a time. -
Filter-Type: For an exact match, use =, for example, " given_name
= "Jon"". For a prefix ("starts with") match, use ^=, for example, "given_name
^= "Jon"". -
AttributeValue: The attribute value that must be matched for each user.
ListUsers
returns all users in the user pool.-
username
(case-sensitive) -
email
-
phone_number
-
name
-
given_name
-
family_name
-
preferred_username
-
cognito:user_status
(called Status in the Console) (case-insensitive) -
status (called Enabled in the Console) (case-sensitive)
-
sub
<= 256 characters
Examples
Responses
🟢200Success
application/json
Body
The response from the request to list users.
Users
array[object (UserType) {7}]Â
optional
Username
string <password>
optional
>= 1 characters<= 128 characters
Match pattern:
[\p{L}\p{M}\p{S}\p{N}\p{P}]+
Attributes
array[object (AttributeType) {2}]Â
optional
UserCreateDate
string <date-time>
optional
UserLastModifiedDate
string <date-time>
optional
Enabled
booleanÂ
optional
UserStatus
enum<string>Â
optional
-
UNCONFIRMED - User has been created but not confirmed. -
CONFIRMED - User has been confirmed. -
EXTERNAL_PROVIDER - User signed in with a third-party IdP. -
ARCHIVED - User is no longer active. -
UNKNOWN - User status isn't known. -
RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in. -
FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else.
Allowed values:
UNCONFIRMEDCONFIRMEDARCHIVEDCOMPROMISEDUNKNOWNRESET_REQUIREDFORCE_CHANGE_PASSWORD
MFAOptions
array[object (MFAOptionType) {2}]Â
optional
PaginationToken
stringÂ
optional
>= 1 characters
Match pattern:
[\S]+
🟠480InvalidParameterException
🟠481ResourceNotFoundException
🟠482TooManyRequestsException
🟠483NotAuthorizedException
🟠484InternalErrorException
Modified at 2023-08-15 07:11:07