Skip to content

Forgot password

POST
/_torii/auth/forgot-password
curl --request POST \
--url https://your-app.toriiauth.eu/_torii/auth/forgot-password \
--header 'Content-Type: application/json' \
--data '{ "email": "[email protected]" }'

Sends a password reset code to the user’s email. Always returns 200 to avoid leaking email existence.

Host
string
Media typeapplication/json

Payload for requesting a password reset code

object
email
required
string format: email
>= 1 characters
Examplegenerated
{
"email": "[email protected]"
}

OK

Media typeapplication/json
object
Examplegenerated
{}