Skip to main content

slack external-auth remove

Remove provider token(s) from your app

Synopsis

Remove provider token(s) stored by your app

Note: Existing tokens are only removed from your app, but not revoked! Tokens may be revoked from the provider's developer console or via APIs

slack external-auth remove [flags]

Examples

# Remove tokens for all or a selected Provider Key
$ slack external-auth remove

# Remove tokens for the specified Provider Key
$ slack external-auth remove -p github

# Remove all tokens for all providers. if Provider Key is specified, remove all tokens relevant to the same Provider Key
$ slack external-auth remove --all

Options

  -A, --all               Remove all tokens for all providers if Provider Key is not specififed. Else remove tokens only relevant to the specififed Provider Key
-h, --help help for remove
-p, --provider string the external auth Provider Key to remove a token for

Options inherited from parent commands

  -a, --app string           use a specific app ID or environment
--config-dir string use a custom path for system config directory
-e, --experiment strings use the experiment(s) in the command
-f, --force ignore warnings and continue executing command
--no-color remove styles and formatting from outputs
-s, --skip-update skip checking for latest version of CLI
-w, --team string select workspace or organization by team name or ID
--token string set the access token associated with a team
-v, --verbose print debug logging and additional info

See also

  • slack external-auth - Add and remove external authorizations and client secrets for providers in your app