onasty/api/paths/auth/reset-password-token.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 23 24 25 26 27 28 29 |
post:
tags: [Account]
summary: Reset password
security:
- {}
parameters:
- name: token
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '../../components/requests/ResetPassword.yml'
responses:
'200':
description: Successfully resend the email
'400':
$ref: '../../components/responses/ErrorResponse.yml'
'404':
$ref: '../../components/responses/UserNotFound.yml'
'500':
$ref: '../../components/responses/ErrorResponse.yml'
|