Skip to content

Reset password

Request

Resets a user password

Security
BasicAuthCredentials
Bodyapplication/json
emailstring
Example:"test@test.com"
passwordstring
Example:"Password123"
curl -i -X POST \
  -u '<username>:<password>' \
  http://sandbox.sunlync.net:9000/slapi/users/resetpassword \
  -H 'Content-Type: application/json' \
  -d '{
    "email": "test@test.com",
    "password": "Password123"
  }'

Responses

Reset Password

Bodyapplication/json
clientNumberstring
Example:"0000000001"
messagestring
Example:""
userIdinteger
Example:1
Response
{ "clientNumber": "0000000001", "message": "", "userId": 1 }