add logoff method
This commit is contained in:
parent
bb5446ec7f
commit
3ee85a5000
16
backend.yml
16
backend.yml
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user