account.resetAuthorization #

Log out an active authorized session by its hash

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
account.resetAuthorization#df77f3bc hash:long = Bool;

Parameters #

NameTypeDescription
hashlongSession hash

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
406FRESH_RESET_AUTHORISATION_FORBIDDENYou can't logout other sessions if less than 24 hours have passed since you logged on the current session.
400HASH_INVALIDThe provided hash is invalid.

User Authorization #

How to register a user's phone to start using the API.