Complete password reset
POST
/api/auth/reset-password
const url = 'https://hitkeep.com/api/auth/reset-password';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"password":"example","token":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://hitkeep.com/api/auth/reset-password \ --header 'Content-Type: application/json' \ --data '{ "password": "example", "token": "example" }'Resets password using reset token.
Request Body required
Section titled “Request Body required ” Media type application/json
object
password
required
string
token
required
string
Example generated
{ "password": "example", "token": "example"}Responses
Section titled “ Responses ”Status
Media type application/json
object
message
string
status
string
Example generated
{ "message": "example", "status": "example"}Invalid or expired link
Media type application/json
object
message
string
Example generated
{ "message": "example"}