← All methods

account.terminateOtherSessions

Ends every session of the user except the current access_token (including web cookies and LongPoll keys).

Response

{count: N}

Example

curl -s -X POST 'https://durovloh.net/api.php' \
  -d 'method=account.terminateOtherSessions' \
  -d 'access_token=USER_TOKEN'