Method get

Returns the specified UserAccount resource.

HTTP request

GET https://iam.api.cloud.yandex.net/iam/v1/userAccounts/{userAccountId}

Path parameters

Parameter Description
userAccountId Required. ID of the UserAccount resource to return. The maximum string length in characters is 50.

Response

HTTP Code: 200 - OK

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

Currently represents only Yandex.Passport account.

Field Description
id string

ID of the user account.

yandexPassportUserAccount object
A YandexPassportUserAccount resource.

A YandexPassportUserAccount resource. For more information, see Yandex.Passport account.

yandexPassportUserAccount.
login
string

Login of the Yandex.Passport user account.

yandexPassportUserAccount.
defaultEmail
string

Default email of the Yandex.Passport user account.