onasty/api/paths/auth/reset-password.yml(view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
post:
tags: [Account]
summary: Reset password (sends an email with token for continuing reset)
security:
- {}
requestBody:
required: true
content:
application/json:
schema:
$ref: '../../components/requests/EmailRequest.yml'
responses:
'200':
description: Successfully send the email
'400':
$ref: '../../components/responses/ErrorResponse.yml'
'404':
$ref: '../../components/responses/UserNotFound.yml'
'500':
$ref: '../../components/responses/ErrorResponse.yml'
|