Identity Provider API, REST: User.Get
Returns the specified user.
To get the list of available users, make a List request.
HTTP request
GET https://organization-manager.api.cloud.yandex.net/organization-manager/v1/idp/users/{userId}
Path parameters
Request to get a user by ID.
|
Field |
Description |
|
userId |
string Required field. ID of the user to return. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"userpoolId": "string",
"status": "string",
"username": "string",
"fullName": "string",
"givenName": "string",
"familyName": "string",
"email": "string",
"phoneNumber": "string",
"createdAt": "string",
"updatedAt": "string",
"externalId": "string"
}
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. |