onasty/api/paths/auth/logout.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 |
post:
tags: [Auth]
summary: Logout (current session)
security:
- Bearer: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '../../components/requests/RefreshTokens.yml'
responses:
'200':
description: Logged out
'404':
$ref: '../../components/responses/ErrorResponse.yml'
'401':
description: Unauthorized
'400':
$ref: '../../components/responses/ErrorResponse.yml'
'500':
$ref: '../../components/responses/ErrorResponse.yml'
|