Reset password with token
Client
Reset password with token
Reset user password with a token. The token can be:
- Magic link token (64-character hex token from send-reset-password when method is ‘link’)
- Reset token (from exchange-reset-password-token after code verification when method is ‘code’)
Both token types use RESET_PASSWORD purpose and are verified the same way.
Flow summary:
- Code method: send-reset-password → exchange-reset-password-token → reset-password (with resetToken)
- Link method: send-reset-password → GET /api/auth/email/reset-password-link → reset-password
POST
Reset password with token
Documentation Index
Fetch the complete documentation index at: https://docs.insforge.dev/llms.txt
Use this file to discover all available pages before exploring further.
Body
application/json
Response
Password reset successfully
Example:
"Password reset successfully"