Method getByLogin

Returns the specified YandexPassportUserAccount resource.

HTTP request

GET https://iam.api.cloud.yandex.net/iam/v1/yandexPassportUserAccounts:byLogin

Query parameters

Parameter Description
login Required. Login of the YandexPassportUserAccount resource to return.

Response

HTTP Code: 200 - OK

 {
  "id": "string",
  "yandexPassportUserAccount": {
    "login": "string",
    "defaultEmail": "string"
  }
}

A UserAccount resource. For more information, see Users.

Field Description
id string

ID of the user account.

yandexPassportUserAccount object

A YandexPassportUserAccount resource. For more information, see Passport users.

yandexPassportUserAccount.
login
string

Login of the Yandex.Passport user account.

yandexPassportUserAccount.
defaultEmail
string

Default email of the Yandex.Passport user account.