Skip to main content

closeFleetSession

End a fleet session now, when its game server stops: the realtime servers release the players it carries (their actors leave, as when a player's own session ends) and its place counts toward the organization's maxFleetSessions no longer. True when a session was ended; false when there was none by that id. A session that is neither closed nor refreshed ends by itself at expiresAt. Two callers. A GAME SERVER, with the org token that opened the session (scope fleet:session): it ends its own session, and false for one another org token opened. AN ADMIN of the organization, with a session holding manage_players (or a Crowded Kingdoms operator): any session of the organization in that app, whichever org token opened it, which is how a session a killed server left behind is ended (find it with fleetSessions). Revoking an org token still ends everything that token opened.

closeFleetSession(
input: CloseFleetSessionInput!
): Boolean!

Arguments​

closeFleetSession.input ● CloseFleetSessionInput! non-null input​

Type​

Boolean scalar​

The Boolean scalar type represents true or false.