This section explains how to use the qq auth_modify_access_token command.


Modify the specified access token


qq auth_modify_access_token [-h] [--expiration-time EXPIRATION_TIME] [--enable] [--disable] id


Flag Name Required Description
--expiration-time No The expiration time of the access token. After this time, the token will no longer be usable for authentication. For example, "Jan 20 2024", "1/20/2024", or "2024-01-20 12:00", with times interpreted in UTC timezone.
--enable No Enable the access token.
--disable No Disable the access token. It can no longer be used to authenticate until it is enabled.

Positional Options

Option Name Description
id The unique ID of the access token to be modified.