Cloud Desktop API, REST: Desktop.ResetPassword
Статья создана
Обновлена 26 ноября 2024 г.
Reset password
HTTP request
POST https://cloud-desktop.api.cloud.yandex.net/cloud-desktop/v1/desktops/{desktopId}:resetPassword
Path parameters
Field |
Description |
desktopId |
string Required field. ID of the desktop. |
Body parameters
{
"user": {
"subjectId": "string",
"subjectType": "string"
}
}
Field |
Description |
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. |
Response
HTTP Code: 200 - OK
{
"password": "string"
}
Field |
Description |
password |
string Generated password |