GetPasswordData
GET /?Action=GetPasswordData
Description
Retrieves the administrator password for a Windows running instance.
The administrator password is encrypted using the keypair you specified when launching the instance.
Note
|
The administrator password is generated only on the first boot of the Windows instance. It is not returned after the first boot. |
Body parameter
Required: false
Name: GetPasswordDataRequest
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
InstanceId |
The ID of the instance. |
true |
string |
Responses
HTTP Code 200
HTTP Code | Description | Schema |
---|---|---|
200 |
GetPasswordDataResult |
Response 200
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
instanceId |
The ID of the instance. |
false |
string |
||
passwordData |
The password of the instance. After the first boot, returns an empty string. |
false |
string |
||
requestId |
The ID of the request. |
false |
string |
||
timestamp |
The time the output was updated for the last time, in ISO 8601 format. |
false |
string |