Reset Password
PUT
http://127.0.0.1:3000/api/auth/password/reset
Maintainer:Not configured
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://127.0.0.1:3000/api/auth/password/reset' \
--data-urlencode 'email=' \
--data-urlencode 'code=327700' \
--data-urlencode 'password=password1' \
--data-urlencode 'password_confirmation=password1'
Response Response Example
202 - Example 1
{
"data": {
"id": "string",
"email": "string",
"walletAddress": null,
"firstName": "string",
"lastName": "string",
"role": "string",
"avatar": null,
"bio": null,
"phone": null,
"verified": true,
"createdAt": "string",
"updatedAt": "string",
"locationId": null
},
"status": "string",
"message": "string",
"code": 0
}
Request
Body Params application/x-www-form-urlencoded
email
string
required
Example:
{{user_email}}
code
string
required
Example:
327700
password
string
required
Example:
password1
password_confirmation
string
required
Example:
password1