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