This API is used to reset a user password.
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. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
new_password |
No |
String |
New password. This parameter is mandatory for resetting a user password. It cannot be the username or the username spelled backwards. The password must meet the following complexity requirements:
|
None
Resetting a user password.
PUT https://{endpoint}/v2/{project_id}/instances/{instance_id}/users/{user_name} { "new_password" : "Cxxx3" }
None
Status Code |
Description |
---|---|
204 |
Password reset successfully. |
See Error Codes.