token.py: List and delete pCloud authentication tokens
python token.py [common_options]
[ {--delete token-id[,token-id ...] | --list} ]
token.py
will list the current set of valid authentication tokens
held by the pCloud server. token.py
can also delete these tokens,
as identified by their token-id.
--delete token-id[,token-id ...]
: Deletes tokens specified by a list of one or more token_ids.
--list
: List all authentication tokens: token-id, expiry date and client
name are shown.
If token.py
is using the token deleted by --delete, it will lose
connection with pCloud, as the token is immediately invalidated.