TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/AC42027/Backend-produccion/llms.txt
Use this file to discover all available pages before exploring further.
/api/logout/ endpoint destroys the server-side session associated with the caller’s sessionid cookie. After a successful call, the session is invalidated and any subsequent requests that include the same cookie will be treated as unauthenticated.
Method: GETPath:
/api/logout/Auth required: Yes — an active
sessionid cookie must be present. Calling this endpoint without a valid session still returns 200 but has no effect.
Request body
None. This endpoint does not accept or require a request body.Response
200 — Success
Always
"ok".Always
"Sesión cerrada".Example
Log out using the cookie file saved during login:sessionid stored in cookies.txt is no longer valid. Delete or discard the cookie file to avoid accidentally reusing it:
This endpoint uses
@csrf_exempt, so no CSRF token is required. Once the session is invalidated, any request that relied on that cookie — including page loads and API calls — will fail or return an unauthenticated response.