Resetting a User Password
Function
This API is used to reset a user password.
URI
PUT /v2/{project_id}/instances/{instance_id}/users/{user_name}
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. |
user_name |
Yes |
String |
Username. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
new_password |
No |
String |
New password. |
Response Parameters
None
Example Requests
Resetting a user password.
PUT https://{endpoint}/v2/{project_id}/instances/{instance_id}/users/{user_name} { "new_password" : "Cloud@123" }
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
204 |
Password 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