Skip to main content
POST
/
auth
/
reset-password
Reset password (unauthenticated)
curl --request POST \
  --url http://localhost:3000/auth/reset-password \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "<string>",
  "password": "<string>"
}
'
{
  "statusCode": 123,
  "message": "OK",
  "data": {
    "message": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
token
string
required
Minimum string length: 1
password
string
required
Required string length: 8 - 128

Response

Default Response

statusCode
number
message
string
default:OK
data
object