Verified Commit 09c1f73a authored by Jonas-Ian Kuche's avatar Jonas-Ian Kuche
Browse files

Add logout route


Signed-off-by: Jonas-Ian Kuche's avatarJonas-Ian Kuche <jonas-ian.kuche@mni.thm.de>
parent f5d5bb8f
......@@ -372,6 +372,18 @@ paths:
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/UnauthorizedError'
delete:
operationId: revoke
summary: Logout
tags:
- auth
security:
- userBearer: []
responses:
'200':
$ref: '#/components/responses/Ok'
'401':
$ref: '#/components/responses/UnauthorizedError'
/api/sessions:
get:
operationId: listSessions
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment