SysInvalidateAllButCurrentSession
Invalidates all sessions for the current user except the current session.
| Service | Operation |
|---|---|
| playerState | SYS_INVALIDATE_ALL_BUT_CURRENT_SESSION |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Roblox
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var playerStateProxy = bridge.getPlayerstateServiceProxy();
var postResult = playerStateProxy.sysInvalidateAllButCurrentSession();
{
"service":"playerState",
"operation":"SYS_INVALIDATE_ALL_BUT_CURRENT_SESSION"
}
JSON Response
{
"data": {
"invalidatedCount": 1,
"invalidated": [
"vu6j3tdff5kht0bqer3cbhin5t"
],
"verification": true
},
"status": 200
}