Skip to main content
Version: 6.0.0

SysInvalidateAllSessionsForUserExcept

Invalidates all sessions for a user except a specific session.

ServiceOperation
playerStateSYS_INVALIDATE_ALL_SESSIONS_FOR_USER_EXCEPT

Method Parameters

ParameterDescription
profileIdThe profile ID of the user whose sessions should be invalidated.
sessionIdThe specific session ID to keep active (not invalidate).

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"data": {
"invalidatedCount": 0,
"invalidated": [],
"verification": true
},
"status": 200
}