add logoff method

This commit is contained in:
Torma Kristóf 2020-11-25 19:00:43 +01:00
parent bb5446ec7f
commit 3ee85a5000

View File

@ -46,6 +46,22 @@ paths:
schema: schema:
$ref: '#/components/schemas/ApiResponse' $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: /api/auth/me:
get: get:
tags: tags: