telegram api method · layer 229 · #9fab0d1a
auth.resetAuthorizations
Terminates all user's authorized sessions except for the current one.
definition
auth.resetAuthorizations#9fab0d1a = Bool;
parameters
returns
errors (2)
| code | error | description |
|---|---|---|
| 401 | AUTH_KEY_UNREGISTERED | The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). |
| 406 | FRESH_RESET_AUTHORISATION_FORBIDDEN | You 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
| id | layers |
|---|---|
| #9fab0d1a | 2–229 |