Identity Provider API, REST: User.GetSelfPasswordMetadata
Returns metadata about the authenticated user's password.
HTTP request
GET https://organization-manager.api.yandexcloud.kz/organization-manager/v1/idp/users:getSelfPasswordMetadata
Response
HTTP Code: 200 - OK
{
"id": "string",
"type": "string",
"createdAt": "string",
"expiresAt": "string",
"lastUsage": {
"usedAt": "string",
"ipAddress": "string"
}
}
Metadata about a user's password.
|
Field |
Description |
|
id |
string Unique identifier of the password. |
|
type |
enum (PasswordType) Type of the password.
|
|
createdAt |
string (date-time) Timestamp when the password was created. String in RFC3339 To work with values in this field, use the APIs described in the |
|
expiresAt |
string (date-time) Timestamp when the password expires. String in RFC3339 To work with values in this field, use the APIs described in the |
|
lastUsage |
Information about the last usage of the password. |
PasswordUsage
Information about password usage.
|
Field |
Description |
|
usedAt |
string (date-time) Timestamp when the password was last used. String in RFC3339 To work with values in this field, use the APIs described in the |
|
ipAddress |
string IP address from which the password was used. |