mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-01 12:18:35 -05:00
feat: logout route/sign out button (#54)
This commit is contained in:
@@ -457,10 +457,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
status:
|
||||
type: string
|
||||
$ref: '#/components/schemas/User'
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
@@ -472,7 +469,23 @@ paths:
|
||||
type: string
|
||||
required:
|
||||
- authToken
|
||||
|
||||
/auth/logout:
|
||||
get:
|
||||
summary: Logout and clear session cookie
|
||||
description: This endpoint will completely clear the session cookie and associated values, logging out the user
|
||||
tags:
|
||||
- auth
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
status:
|
||||
type: string
|
||||
example: 'ok'
|
||||
/user:
|
||||
get:
|
||||
summary: Returns a list of all users
|
||||
|
||||
Reference in New Issue
Block a user