Resetting the Password
Function
This API is used to reset the password.
URI
POST /v2/{project_id}/instances/{instance_id}/password
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details, see Obtaining a Project ID. |
instance_id |
Yes |
String |
Instance ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
new_password |
No |
String |
Use 8 to 32 characters. Contain at least three of the following character types:
|
Response Parameters
None
Example Requests
Resetting a password
POST https://{endpoint}/v2/{project_id}/instances/{instance_id}/password { "new_password" : "******" }
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
204 |
The password is reset successfully. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot