all repos

onasty @ 10fe031c01c55b5471677cc573d3a83335ce5b05

a one-time notes service

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'