The logout endpoint terminates the current authenticated session. It instructs the server to delete theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/ti-infinite/GSMApplication/llms.txt
Use this file to discover all available pages before exploring further.
gsm_token HttpOnly cookie, ensuring the credential cannot be reused by the browser on subsequent requests. The endpoint requires an active, valid JWT — either supplied automatically via the gsm_token cookie (the standard browser flow) or as an Authorization: Bearer header for server-to-server scenarios. No request body is needed.
Deleting the
gsm_token cookie server-side is the recommended invalidation strategy for browser clients because the cookie is HttpOnly — client-side JavaScript cannot remove it directly. After a successful logout, the browser will no longer send the cookie, effectively ending the session.Endpoint
[Authorize]. Send the gsm_token cookie (set automatically by the browser after login) or include an Authorization: Bearer <token> header.
Request body: None.
Response
The response uses the standardApiResponse<T> envelope with no data payload.
true when the session was terminated successfully.Human-readable confirmation. Returns
"Logged out successfully." on success.Always
null for this endpoint — there is no data payload on logout.null on success. Set to Unauthorized if the request carries no valid token.Optional correlation identifier for tracing.
Optional extended error detail in non-production environments.
Cookie cleared on success
| Name | Action |
|---|---|
gsm_token | Deleted (Path=/) |
Response.Cookies.Delete("gsm_token"), which instructs the browser to expire the cookie immediately.
HTTP Status Codes
| Status | errorType | Scenario |
|---|---|---|
200 OK | — | Logout succeeded; cookie has been cleared. |
401 Unauthorized | Unauthorized | No valid token was provided, or the token has already expired. |