OpenPhn docs
Referenceauth

Complete a password reset

Exchange a valid reset token for a new password. The token is single-use and invalidated on success.

POST
/auth/reset-password

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://loading/auth/reset-password" \  -H "Content-Type: application/json" \  -d '{    "token": "string",    "new_password": "stringstri"  }'
{
  "status": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}