Prisma

Request password reset

Request a password reset. An email with reset instructions will be sent if the account exists.

POST
/api/v1/auth/password-reset

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X post "http://localhost:8000/api/v1/auth/password-reset" \  -H "Content-Type: application/json" \  -d '{    "email": "[email protected]"  }'
{
  "email": "string",
  "sent": true,
  "message": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}