# Password Reset
# Request Password Reset Email
POST
/password/remind
# Parameters
Parameter | Type | Required | Description |
---|---|---|---|
string | Yes | User's email address. |
# Example Request
curl --location --request POST 'https://yourwebsite.com/api/password/remind' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "[email protected]"
}'
# Example Response
Status: 200 OK
{
"success": true
}
# Reset Password
POST
/password/reset
# Parameters
Parameter | Type | Required | Description |
---|---|---|---|
token | String | Yes | Password reset token received via email. |
String | Yes | User's email address. | |
password | String | Yes | New password. |
password_confirmation | String | Yes | New password confirmation. |
# Example Request
curl --location --request POST 'https://yourwebsite.com/api/password/reset' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"token": "4SfyJptHEqaHbcNtoeCblXzMyJ8apROAnJ82o0EuEcRI9QH7ca8VefzCLVaL",
"email": "[email protected]",
"password": "123123123",
"password_confirmation": "123123123"
}'
# Example Response
Status: 200 OK
{
"success": true
}