curl --request POST \
--url https://api.joinworth.com/auth/api/v1/forgot-password \
--header 'Content-Type: application/json' \
--data '{
"email": "jsmith@example.com"
}'
{
"status": "success",
"message": "A link to reset your password has been sent to the registered email"
}
Allows an admin to request a password reset link via email.
curl --request POST \
--url https://api.joinworth.com/auth/api/v1/forgot-password \
--header 'Content-Type: application/json' \
--data '{
"email": "jsmith@example.com"
}'
{
"status": "success",
"message": "A link to reset your password has been sent to the registered email"
}
OK
The response is of type object
.
Was this page helpful?