mirror of
https://github.com/directus/directus.git
synced 2026-02-11 02:55:10 -05:00
23 lines
785 B
YAML
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' |