Skip to content

delete-auth-factor-access-token ​

Deletes the access tokens of an existing user. By default, the command deletes all the access tokens of the user. Use the -ati option to delete only a specific access token.

Syntax:

shell
sfiler-admin [options] delete-auth-factor-access-token [command options]
Command optionsRequired/OptionalDescription
-nRequiredThe name of the user that owns the authentication token.
-atiOptionalThe unique ID of the access token to delete. Without this option, all the access tokens of the user are deleted.

To delete a specific access token, you need to know the unique ID of the access token. This unique ID is displayed by the list-auth-factor-access-token command.

Example:

shell
sfiler-admin.sh -l my-admin -p 012345 -s https://www.example.com/sfiler/server/ delete-auth-factor-access-token -n "my-user" -ati "999"
shell
sfiler-admin.exe -l my-admin -p 012345 -s https://www.example.com/sfiler/server/ delete-auth-factor-access-token -n "my-user" -ati "999"