Files
directus/packages/spec/specs/paths/auth/password-request.yaml
2020-09-14 20:01:01 +02:00

23 lines
785 B
YAML

post:
tags:
- Authentication
operationId: passwordRequest
description: Request a reset password email to be send.
requestBody:
content:
application/json:
schema:
type: object
required: [ email ]
properties:
email:
type: string
example: admin@example.com
description: Email address of the user you're requesting a reset for.
reset_url:
type: string
example: https://mydomain.com/passwordreset
description: Provide a custom reset url which the link in the Email will lead to. The reset token will be passed as a parameter.
responses:
'401':
$ref: '../../openapi.yaml#/components/responses/UnauthorizedError'