Skip to content
Esc
navigateopen⌘Jpreview
Dashboard

Generate password reset token

Generate a new reset password token for this user

POST/{apiBasePath}/{tenantId}/user/password/reset/token
Path parameters
apiBasePathstringrequired
Its value depends on the apiBasePath set by the user
tenantIdstring
The tenant against which the request is made. If left empty, the default tenant will be used.
Header parameters
ridstring
The email password recipe ID
Request body
application/json
formFieldsformFields
Form fields for authentication
Show properties
Array of object
idid
Field identifier
Allowed:emailpassword
valuestring
Field value
Responses
200Generate a new reset password token for this user
One of:
passwordResetTokenResponse
statusstatusOK
Success status indicator
Allowed:OK
passwordResetNotAllowedResponse
statusstring
Error status
Allowed:PASSWORD_RESET_NOT_ALLOWED
reasonstring
Reason why password reset is not allowed
fieldErrorResponse
statusstring
Error status
Allowed:FIELD_ERROR
formFieldsobject[]
List of field errors
Show properties
Array of object
idstring
Field ID
errorstring
Error message
generalErrorResponse
statusstring
Error status code
Allowed:GENERAL_ERROR
messagestring
Error message
404Resource not found error
string
500Internal server error
string
Try it
Server
Parameters
Bodyapplication/json
Request
curl -X POST "/auth/public/user/password/reset/token" \
  -H "Content-Type: application/json" \
  -d '{
  "formFields": [
    {
      "id": "email",
      "value": "test@email.com"
    }
  ]
}'
Response
{
  "status": "OK"
}

API reference

API schema and response details