v1

latestOpenAPI 3.0.32026-07-26172157253.6 KB
Admin

Logout admin dashboard session

Clears the dashboard-only insforge_admin_refresh_token cookie.

If a valid admin refresh cookie is present, the request must include the X-CSRF-Token header returned from admin login, admin session exchange, or admin refresh. Missing, expired, invalid, or wrong-session-type admin refresh cookies are cleared idempotently and still return success.

post/api/auth/admin/logout

Headers

X-CSRF-Tokenstring

CSRF token required when a valid admin refresh cookie is present

Response

Logged out successfully. Also returned when the admin refresh cookie is missing, expired, invalid, or the wrong session type.

successboolean
messagestring