Skip to content

lock-direct-access-token ​

Available in4.21.0 +

Locks a direct access token. A locked token can no longer be used until it is unlocked with unlock-direct-access-token, and no notification is sent for it.

Syntax:

shell
sfiler-admin [options] lock-direct-access-token [command options]
Command optionsRequired/OptionalDescription
-iRequiredThe identifier of the direct access token, as displayed in the Identifier column of the list-direct-access-tokens command. Only a token that this command lists for the user running the command can be designated.

Example:

shell
sfiler-admin.sh -l my-admin -p 012345 -s https://www.example.com/sfiler/server/ lock-direct-access-token -i "AbC123"
shell
sfiler-admin.exe -l my-admin -p 012345 -s https://www.example.com/sfiler/server/ lock-direct-access-token -i "AbC123"