API v1 ReferenceLogout
User logout
Invalidate the current user session by destroying the session cookie. For browser-based requests, this will redirect to the login page. For API requests,…
Invalidate the current user session by destroying the session cookie. For browser-based requests, this will redirect to the login page. For API requests, this returns a success response.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/v1/logout"{ "success": true, "message": "string"}How is this guide?