This API is used to reset the password for an instance with SSL enabled.
POST /v2/{project_id}/instances/{instance_id}/password
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details about how to obtain it, see Obtaining a Project ID. |
instance_id |
Yes |
String |
Instance ID. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
new_password |
Yes |
String |
The password can contain 8 to 32 characters, and must contain at least three types of the following characters:
|
None
Resetting a password
POST https://{endpoint}/v2/{project_id}/instances/{instance_id}/password { "new_password" : "********" }
None
Status Code |
Description |
---|---|
204 |
The password is reset successfully. |
See Error Codes.