account.setAuthorizationTTL

Set time-to-live of current session

 اسکیمای روش از لایه 135 در دسترس است. تغییر »

Parameters

Name Type Description
authorization_ttl_days int Time-to-live of current session in days

Result

Bool

Only users can use this method

Possible errors

Code Type Description
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.
400 TTL_DAYS_INVALID The provided TTL is invalid.