📝」 doc(auth-api): logout doc added

This commit is contained in:
2025-10-01 19:50:03 +02:00
parent ae4838166b
commit e23922d4e3

24
doc/auth/logout.md Normal file
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"
}
```