Complete a password reset with a token
Public. On success sets the session cookie and logs the user in.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
token
required
string
password
required
string
Examplegenerated
{ "token": "example", "password": "example"}Responses
Section titled “Responses”Reset & logged in; Set-Cookie trackly_session
Media typeapplication/json
object
ok
boolean
Password too short / missing token
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Reset token invalid/expired
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Session secret not configured
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}