forceLogoutUser
ADMIN/DESTRUCTIVE: revokes ALL of the target user’s sessions by deleting every game_token row, forcing re-authentication on every device. Returns true if at least one session was revoked. Requires a super-admin bearer game token (and the management API enabled). NOTE: management-owned in cks-game-api (throws ForbiddenException) — use cks-management-api.
forceLogoutUser(
userId: BigInt!
): Boolean!
Arguments
forceLogoutUser.userId ● BigInt! non-null scalar
Target user id whose sessions to revoke (BigInt as a decimal string).
Type
Boolean scalar
The Boolean scalar type represents true or false.