all repos

onasty @ fe34b44ed64971ea123c26077bd570d15d2352f9

a one-time notes service

onasty/api/paths/auth/change-email-token.yml (view raw)

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
api: add openapi docs (#181)..., 9 months ago
1
get:
2
  tags: [Account]
3
  summary: Confirm email change
4
  security:
5
    - {}
6
7
  parameters:
8
    - name: token
9
      in: path
10
      required: true
11
      schema:
12
        type: string
13
14
  responses:
15
    '200':
16
      description: Email change confirmed
17
    '400':
18
      $ref: '../../components/responses/ErrorResponse.yml'
19
    '404':
20
      $ref: '../../components/responses/UserNotFound.yml'
21
    '500':
22
      $ref: '../../components/responses/ErrorResponse.yml'