Resetting a User Password
Function
This API is used to reset a user password.
Debugging
You can use API Explorer to debug this API.
URI
PUT /v2/{project_id}/instances/{instance_id}/users/{user_name}
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | 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
This API is used to reset 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.
Last Article: Deleting Users in Batches
Next Article: Querying User Permissions
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.