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