telegram api method · layer 229 · #9fab0d1a

auth.resetAuthorizations

usable by users

Terminates all user's authorized sessions except for the current one.

definition

auth.resetAuthorizations#9fab0d1a = Bool;

parameters

no parameters

returns

Bool

errors (2)

codeerrordescription
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).
406FRESH_RESET_AUTHORISATION_FORBIDDENYou can't logout other sessions if less than 24 hours have passed since you logged on the current session.

history

present in layers 2–229

idlayers
#9fab0d1a2–229