Request password reset
/v1/auth/forgot-passwordPublic endpoint that issues a one-hour password-reset token for the given email and emails the reset link. Rate-limited to 5 per hour. Always responds with a generic success message whether or not a matching user exists, to prevent account enumeration.
Request body
application/json
emailstring Required Email address
Responses
application/json
data *MessageResponseDto
Returned object
curl -X POST "https://auth.canopy-io.com/v1/auth/forgot-password" \ -H "Content-Type: application/json" \ -d '{ "email": "string" }'
{ "data": { "message": "string" } }
Tell us how we can improve this guide.