chore(docs): Updated API Reference (automated) (#11719)

Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2025-03-04 14:10:22 +00:00
committed by GitHub
co-authored by Oli Juhl Shahed Nasser
parent 8a36bd4034
commit 6294a71296
26 changed files with 189 additions and 404 deletions
@@ -6,11 +6,12 @@ post:
Reset a customer's password using a reset-password token generated with the
[Generate Reset Password Token API
route](https://docs.medusajs.com/api/store#auth_postactor_typeauth_providerresetpassword).
You pass the token as a bearer token in the request's Authorization header.
externalDocs:
url: >-
https://docs.medusajs.com/v2/resources/storefront-development/customers/reset-password#2-reset-password-page
description: 'Storefront development: How to create the reset password page.'
x-authenticated: false
x-authenticated: true
parameters:
- name: auth_provider
in: path
@@ -19,14 +20,6 @@ post:
schema:
type: string
example: emailpass
- name: token
in: query
description: >-
The reset password token received using the Get Reset Password API
route.
required: true
schema:
type: string
requestBody:
content:
application/json:
@@ -45,6 +38,8 @@ post:
label: cURL
source:
$ref: ../code_samples/Shell/auth_customer_{auth_provider}_update/post.sh
security:
- reset_password: []
tags:
- Auth
responses: