Skip to main content
POST
/
api
/
v1
/
auth
/
password-reset
/
reset
Reset Password
curl --request POST \
  --url https://api.example.com/api/v1/auth/password-reset/reset \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "<string>",
  "new_password": "<string>"
}
'
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({token: '<string>', new_password: '<string>'})
};

fetch('https://api.example.com/api/v1/auth/password-reset/reset', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
import requests

url = "https://api.example.com/api/v1/auth/password-reset/reset"

payload = {
    "token": "<string>",
    "new_password": "<string>"
}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
{
  "message": "<string>"
}

Body

application/json
token
string
required
new_password
string
required

Response

200 - application/json

OK

message
string
required