all repos

onasty @ 8b28667

a one-time notes service

onasty/api/paths/auth/logout-all.yml (view raw)

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
api: add openapi docs (#181)..., 9 months ago
1
post:
2
  tags: [Auth]
3
  summary: Logout (all sessions)
4
  security:
5
    - Bearer: []
6
7
  responses:
8
    '200':
9
      description: User logged out
10
    '401':
11
      description: Unauthorized
12
    '400':
13
      $ref: '../../components/responses/ErrorResponse.yml'
14
    '404':
15
      $ref: '../../components/responses/ErrorResponse.yml'
16
    '500':
17
      $ref: '../../components/responses/ErrorResponse.yml'