add logoff method

This commit is contained in:
Torma Kristóf 2020-11-25 19:00:43 +01:00
parent bb5446ec7f
commit 3ee85a5000
1 changed files with 16 additions and 0 deletions

View File

@ -46,6 +46,22 @@ paths:
schema:
$ref: '#/components/schemas/ApiResponse'
/api/auth/logoff:
post:
tags:
- backend
summary: Logs out a user
operationId: logoff
responses:
200:
description: successful operation
401:
description: Incorrect credentials
content:
application/json:
schema:
$ref: '#/components/schemas/ApiResponse'
/api/auth/me:
get:
tags: