mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2026-10-16 04:40:08 +02:00
Merge remote-tracking branch 'origin/main' into user-management
This commit is contained in:
commit
4c6710a382
3 files changed
+45
No files matched your search
@@ -0,0 +1,24 @@
|
||||
# Logout
|
||||
|
||||
Available endpoints:
|
||||
- GET `/logout`
|
||||
|
||||
Common return:
|
||||
- 500 with response
|
||||
```json
|
||||
{
|
||||
"error": "Internal server error"
|
||||
}
|
||||
```
|
||||
|
||||
## GET `/logout`
|
||||
|
||||
Used to logout the client (it just delete the cookie)
|
||||
|
||||
Returns:
|
||||
- 200 with response and clear cookie
|
||||
```json
|
||||
{
|
||||
"msg": "Logout successful"
|
||||
}
|
||||
```
|
||||
Reference in new issue
Block a user