Resets a user's account password.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/storefront/account/reset-password/{token}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/storefront/account/reset-password/{token}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/storefront/account/reset-password/{token}
curl -i -X POST \
'https://www.rebilly.com/_mock/catalog/all/storefront/account/reset-password/{token}' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"newPassword": "newP@$$w0rd"
}'Password reset.
Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.
ID of the account.
ID of the website. A website is where an organization obtains a customer. For more information, see Obtain an organization ID and website ID.
Default payment instrument. The default payment instrument is used to automatically pay subscription renewals, and for transaction requests where a specific payment instrument is not provided.
ID of the customer's preferred payment instrument for payouts.
Date and time when the resource is created. This value is set automatically when the resource is created.
Date and time when the resource is updated. This value is set automatically when the resource is updated.
Email addresses for notification delivery in event-based email notifications. When you configure event-based email notifications, you can send to these addresses, the customer's primary email address, or another email address you specify. For more information, see Manage notification emails.
{ "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21", "websiteId": "web_0YV7DE4Z26DQSA1AC92FBJ7SEG", "username": "string", "primaryAddress": { "firstName": "Benjamin", "lastName": "Franklin", "organization": "Rebilly", "address": "36 Craven St", "address2": "string", "city": "Austin", "region": "Texas", "country": "GB", "postalCode": "WC2N 5NF", "phoneNumbers": [ … ], "emails": [ … ], "dob": "1980-04-01", "jobTitle": "CEO", "hash": "056ae6d97c788b9e98b049ebafd7b229bf852221" }, "defaultPaymentInstrument": { "method": "payment-card", "paymentInstrumentId": "inst_0YVB8KPKNXCBR9EDX7JHSED75N" }, "preferredPayoutInstrumentId": "inst_0YVB8KPKNXCBR9EDX7JHSED75N", "isVerified": true, "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "taxNumbers": [ { … } ], "notificationEmails": [ "user@example.com" ], "_links": [ { … } ], "_embedded": { "website": {}, "leadSource": {} } }