User Password
This endpoint can be used to set the password for the specified user. Passwords will be hashed and are not retrievable.
Reference
POST /user/password/
Set the password
Fields
field | type | constraints | Req | W | U |
---|---|---|---|---|---|
userId | int | Yes | No | No | |
password | string | The new password min 6 characters max 50 characters |
Yes | Yes | No |
Example changing user password
Request
POST /rest/v1/userpassword/ HTTP/2
{
"userId": 12311,
"password": "blabla"
}
Response
{
"result": true,
"errors": [],
"data": []
}