powered by

Rotate, pause or disconnect an integration

Updated Sep 30, 2026
Reconnect an integration after access is revoked, rotate an API key or OAuth client secret, pause a connection, or disconnect it for good.

Use this page when a connection stops working — an OAuth grant was revoked, an API key leaked or expired — or when you want to stop a workflow using it. How integrations work explains connections and how steps choose one.

Note: Reconnecting or rotating an API key creates a connection with a new ID. Steps using System (shared connection) or Current User (first connection) pick up the new connection automatically. Steps using Specific Connection (by ID), and any connection IDs you've stored on records, need the new ID.

Reconnect an OAuth connection

In the Anythink dashboard

  1. Go to Settings › Integrations and open the Integrations tab.
  2. On the provider's card, select Reconnect.
  3. Approve access again when the provider asks.

Reconnect deletes the current connection before the new authorisation starts. If you cancel at the provider, select Connect to finish.

With the CLI

bash
anythink integrations connections list --provider slack
anythink integrations disconnect <connection-id> --yes
anythink integrations oauth connect slack --name "Team workspace"

With an AI assistant (MCP)

text
Using the anythink CLI, disconnect Slack connection <connection-id> and connect Slack again.

The assistant calls the cli tool with integrations disconnect <connection-id> --yes, then integrations oauth connect slack, which opens your browser. This needs the MCP server running locally in stdio mode.

Rotate an API key

There's no in-place key update: disconnect the old connection and connect with the new key.

In the Anythink dashboard

  1. On the provider's card in Settings › Integrations, select Disconnect.
  2. Select Configure & Connect, paste the new key and select Save.

Use Disconnect rather than Reconnect for Claude AI, OpenAI and Grok — Reconnect starts an OAuth flow, which API-key providers don't have.

With the CLI

bash
anythink integrations disconnect <connection-id> --yes
anythink integrations connect openai --name "OpenAI"

connect prompts for the new key without echoing it.

With an AI assistant (MCP)

Note: Rotate API keys in your own terminal. Through an assistant, the new key would be passed in the command and end up in your conversation.

Once the new connection works, revoke the old key in the provider's own console.

Rotate an OAuth client secret

When you rotate the client secret in the provider's console, save the new one in your project. Existing connections keep working; the new secret is used the next time a token is refreshed or a connection is made.

  • CLI: anythink integrations oauth configure slack --client-id <CLIENT_ID> --client-secret <NEW_SECRET>
  • Dashboard: on the provider's card, select Edit OAuth, enter the new Client Secret and select Save. The Anythink dashboard then sends you to the provider to connect. Approving adds a second connection, so either cancel there or disconnect the old connection afterwards.

Pause a connection

Disable a connection to stop workflows using it without deleting its stored credentials:

With the CLI

bash
anythink integrations disable <connection-id>
anythink integrations enable <connection-id>

With an AI assistant (MCP)

text
Using the anythink CLI, disable integration connection <connection-id>.

The assistant calls the cli tool with integrations disable <connection-id>.

Note: The dashboard has no enable or disable control for connections. A disabled connection's card shows as not connected; don't select Configure & Connect or Connect there unless you want a second connection.

While a connection is disabled, steps that would have used it fail with "No credentials found for ", unless another enabled connection for the provider matches.

Disconnect for good

In the Anythink dashboard

On the provider's card in Settings › Integrations, select Disconnect.

With the CLI

bash
anythink integrations disconnect <connection-id>

The CLI shows the connection's provider, name and scope and asks you to confirm. Add --yes to skip the prompt in scripts.

With an AI assistant (MCP)

text
Using the anythink CLI, disconnect integration connection <connection-id>.

The assistant calls the cli tool with integrations disconnect <connection-id> --yes.

Disconnecting deletes the credentials Anythink holds. It doesn't revoke the grant at the provider — remove the app in the provider's settings too, for example in your Google Account's third-party access page or your Slack workspace's app management.

Verify

Run anythink integrations connections list. A disconnected connection is gone; a disabled one shows no in the Enabled column. Trigger a workflow that used it and check View Job History: the step fails with "No credentials found", or succeeds against the new connection.

Next steps

Rotate, pause or disconnect an integration | Anythink Docs