Skip to main content
Closes an active game session, performing any integration-specific cleanup (e.g. notifying the game provider that the player has left). This endpoint is optional — sessions expire automatically after a period of inactivity if not explicitly closed.
This is a convenience endpoint for operators who want immediate session cleanup. If you don’t call it, everything still works — the session will expire on its own.

Endpoint

Headers

Body parameters

string
required
The session token returned by POST /operator/launch in the sessionToken field.

Example request

Response — 200 OK

Response fields

boolean
true if the session was found and closed. false if the session was not found (already expired or invalid token). Both cases return HTTP 200 — this endpoint never throws an error.
This endpoint is idempotent and safe to call multiple times with the same sessionToken. Calling it on an already-closed or expired session simply returns { "closed": false }.