Source: https://cli.nylas.com/docs/commands/slack-auth-remove

# nylas slack auth remove

Remove stored Slack token

Written by [Qasim Muhammad](https://cli.nylas.com/authors/qasim-muhammad) Staff SRE

Published February 13, 2026

Updated June 21, 2026

## What does nylas slack auth remove do?

The nylas slack auth remove command removes stored Slack token. It is part of the Slack Integration commands, which interact with Slack workspaces from the CLI.

## Usage

```bash
nylas slack auth remove
```

## Flags

| Flag | Description |
| --- | --- |
| --yes(-y) | Skip confirmation |
| --json | Output as JSON |
| --no-color | Disable color output |
| --verbose(-v) | Enable verbose output |
| --config | Custom config file path |
| --help(-h) | Show help for the command |
| --limit | Limit results (most list commands) |

## Examples

The nylas slack auth remove command removes stored Slack token.

### JSON output for scripting

```bash
nylas slack auth remove --json
```

## Troubleshooting

### Command not found or fails

Run `nylas auth config` and `nylas auth login` to authenticate first.

## Related commands

[nylas slack auth setSet the Slack API token for workspace integration.](https://cli.nylas.com/docs/commands/slack-auth-set)

[nylas slack auth statusShow Slack auth status](https://cli.nylas.com/docs/commands/slack-auth-status)

[nylas slack channels infoShow channel details](https://cli.nylas.com/docs/commands/slack-channels-info)

[nylas slack channels listList channels.](https://cli.nylas.com/docs/commands/slack-channels-list)

[nylas slack messages listList recent messages in a Slack channel.](https://cli.nylas.com/docs/commands/slack-messages-list)

[nylas slack replyReply to a Slack message in a thread.](https://cli.nylas.com/docs/commands/slack-reply)

## Recommended guides

[Authenticate Gmail on a Headless Server or VMAuthenticate to Gmail from a headless server or VM with no browser. Configure a Nylas API key, attach an existing grant, and send over HTTPS — no OAuth redirect.](https://cli.nylas.com/guides/gmail-headless-server-auth)

[Email to Slack Alerts from TerminalForward important emails to Slack channels automatically. Poll for new messages, filter by sender or subject, and post formatted alerts via incoming webhooks.](https://cli.nylas.com/guides/email-to-slack-notifications)

Run `nylas slack auth remove --help` for full help output.
