Skip to main content

logout

Ends the current session by deleting the game_token that authenticated this request; other devices stay logged in. An identity session logout also cascades to (revokes) every app token it minted. An app token logs only itself out: it is deleted, and the realtime and compute-module sessions it opened end at once; the identity session that minted it is untouched. Returns false if no token was resolved.

logout: Boolean!

Type​

Boolean scalar​

The Boolean scalar type represents true or false.