Herald
OpenapiAuth

Request password reset

Initiates a password reset process by sending a verification code to user's email address. Always returns success to prevent email enumeration.

POST
/api/auth/{realmId}/reset_password/request

Initiates a password reset process by sending a verification code to user's email address. Always returns success to prevent email enumeration.

Path Parameters

realmId*string

Realm ID

Request Body

application/json
  1. body
clientId*string
email*string
turnstileToken?string|null

Response Body

Request accepted (always ok).

application/json
  1. response
message*string
Example Request
curl -X POST 'https://example.com/api/auth/string/reset_password/request' \
  -H 'Content-Type: application/json' \
  -d '{
  "clientId": "string",
  "email": "string"
}'
Example Response
{
  "message": "string"
}