Retrieves a list of users.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dlf:ListUsers |
get |
*All Resource
|
None | None |
Request syntax
GET /dlf/v1/auth/users/list HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| userName |
string |
No |
The user name. |
user_name |
| type |
string |
No |
The type of the user. Valid values:
|
RAM_USER |
| pageToken |
string |
No |
The pagination token used to retrieve the next page of results. If this parameter is not returned in the response, pass an empty string (""). |
"" |
| maxResults |
integer |
No |
The number of entries to return on each page. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| users |
array |
The users. |
|
| User |
The user information. |
||
| nextPageToken |
string |
The pagination token used to retrieve the next page of results. A null value indicates that this is the last page of results. |
E8ABEB1C3DB893D16576269017992F57 |
Examples
Success response
JSON format
{
"users": [
{
"createdAt": 1744970111419,
"updatedBy": "acs:ram::[accountId]:root",
"createdBy": "acs:ram::[accountId]:root",
"displayName": "user_display_name",
"userName": "user_name",
"type": "RAM_USER",
"userId": "222748924538****",
"userPrincipal": "acs:ram::[accountId]:user/user_name",
"updatedAt": 1744970111419
}
],
"nextPageToken": "E8ABEB1C3DB893D16576269017992F57"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.