This API resets a user’s password.
Note: The current version of the API is 6.0. In order to avoid errors, please add a query parameter to your calls specifying the version, like so:
https://API_REQUEST?v=6.0
Request
Method | URL |
---|---|
PUT | https://{domain}/api/account/{accountId}/configuration/le-users/users/{userId}/resetPassword |
Request Headers
Header | Description |
---|---|
Authorization | Contains token string to allow request authentication and authorization. |
Request Body
{
"newPassword": "newPassword"
}
Path Parameters
Parameter | Description | Type/Value |
---|---|---|
accountId | LP site ID | String |
userId | User ID | Positive long number greater than zero |
Query Parameters
Name | Description | Type | Required | Notes |
---|---|---|---|---|
v | API version number | double | Required | Value should be 6.0 |
Response
Response Body
Appendix for Entity Structure and Entity Example.