Merge remote-tracking branch 'origin/main' into user-management

This commit is contained in:
Tzvetan Trave committed 2025-10-07 21:01:35 +02:00
commit 4c6710a382
3 files changed
+45

No files matched your search

+24
View File
@@ -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"
}
```