- Platform Overview
- Resources and Guides
-
POS Integration
-
Getting Started
-
Core Concepts
-
Integration SDK
-
Certification
-
- Order Ahead
-
Provider Enablement
-
Provider Enablement
-
Endpoints
-
Developer Endpoints
-
-
API Reference
-
Getting Started
-
v15
-
- Access Tokens
- Campaigns
- Credit Cards
- Users
- Credit
- Locations
- Payment Methods
- QR Codes
- Progress Adjustments
- Orders
- Rewards
- Gift Cards
-
-
v14
-
- Credit
- Access Tokens
- Campaigns
- Categories
- Credit Cards
- Interstitials
- Locations
- Loyalty
- Orders
- Payment Tokens
- Support Tickets
-
Users
- Create
- List Addresses
- Get Details
- Update
- Reset Password
- Custom Attributes
-
-
Users .: Reset Password
API Reference / v14
Reset a User’s Password
This endpoint emails a user instructions about how to recover their account in the event they have forgotten their password.
Request Endpoint
POST /v14/passwords
No Authorization Required
Request Body
{
"email": "foo@example.com"
}
Request Parameters
Param | Type | Required | Description |
---|---|---|---|
email |
String | Yes | The user’s email address. |
cURL Example
curl -X POST -H Accept:application/json -H Content-Type:application/json -d '{"email": "foo@example.com"}' https://api.thelevelup.com/v14/passwords
Example Response
If the email address belongs to an existing user and they have been emailed instructions about how to reset their password; or if email
is a valid email address but does not belong to anexisting user.
HTTP/1.1 204 No Content
(No response body.)
Errors
If email
is blank or otherwise invalid
HTTP/1.1 422 Unprocessable Entity
[
{
"error": {
"object": "base",
"property": "email",
"message": "Email is invalid"
}
}
]