telegram api method · layer 229 · #df77f3bc
account.resetAuthorization
Log out an active authorized session by its hash
definition
account.resetAuthorization#df77f3bc hash:long = Bool;
parameters
| name | type | description |
|---|---|---|
hash | long | Session hash |
returns
errors (3)
| code | error | description |
|---|---|---|
| 400 | HASH_INVALID | The provided hash is invalid. |
| 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 46–229
| id | layers |
|---|---|
| #df77f3bc | 46–229 |