c_agri_trade/docs/api/bruno/auth/logout.bru

39 lines
619 B
Plaintext

meta {
name: Logout Application Session
type: http
seq: 2
}
post {
url: {{baseUrl}}/api/v1/auth/logout
body: none
auth: bearer
}
auth:bearer {
token: {{jwtToken}}
}
headers {
Accept: application/json
}
docs {
# Terminate Application Session (FR-AUTH-003)
Terminates the active application session, marks the token/session as invalidated,
and cleans up server-side session context.
## Response 200 OK
```json
{
"status": "logged_out",
"message": "Session terminated successfully."
}
```
## Response 401 Unauthorized
Returned when no active session is present.
}