Cloud Desktop API, gRPC: DesktopService.ResetPassword
Статья создана
Обновлена 26 ноября 2024 г.
Reset password
gRPC request
rpc ResetPassword (ResetPasswordRequest) returns (ResetPasswordResponse)
ResetPasswordRequest
{
"desktop_id": "string",
"user": {
"subject_id": "string",
"subject_type": "string"
}
}
Field |
Description |
desktop_id |
string Required field. ID of the desktop. |
user |
Required field. User of the desktop. |
User
Field |
Description |
subject_id |
string Required field. Identity of the access binding. |
subject_type |
string Required field. Type of the access binding, e.g. userAccount, serviceAccount, system. |
ResetPasswordResponse
{
"password": "string"
}
Field |
Description |
password |
string Generated password |