Users Passwords
Reset the user password
Deprecated
POST
Accept*stringapplication/json
Content-Type*stringapplication/json
A JSON object containing the resource data
application/json- body
token*stringThe unique token generated by the API and sent to the user's e-mail address when the send-reset-link operation has been triggered.
email*stringThe email of the user to reset the password.
password*stringThe new password to define to user account.
password_confirmation*stringThe new password again.
Ok
application/json- response
message*stringMessage with information about the response
curl -X POST 'https://api.devopness.com/users/password/reset' \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ -H 'Content-Type: application/json' \ -d '{ "token": "55e16e05980a5ed3b48d8ace4282b6b3b9c92f4f2cf3d50f1c67e38a53e43b7d", "email": "my-email@devopness.com", "password": "my-password", "password_confirmation": "my-password"}'Example Response
{ "message": "Your password has been reset"}