# Hermoso: disconnect_connector · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/workspace/disconnect_connector/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Workspace & account](https://hermoso.ai/docs/reference/workspace/) / disconnect_connector

# `disconnect_connector`

Disconnect a connected account destructive

Area: CONNECTOR WRITES · [Workspace & account](https://hermoso.ai/docs/reference/workspace/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

Disconnect a third-party account from this workspace (Meta, Google Ads, Google Drive/Sheets/Docs, YouTube, TikTok, LinkedIn, X, Reddit Ads, Pinterest, Google Business, Microsoft Advertising/OneDrive, Slack, …). This always drops the stored credentials, so every tool for that provider stops working immediately and posts/campaigns already published are NOT affected. IT NEVER REVOKES THE GRANT AT THE PROVIDER: the authorisation stays in place, so the same account keeps working in any other brand it is connected to, until the user removes Hermoso in that provider's own settings. The unconfirmed call names where to do that (list_connectors carries revokesAtProvider:"local") — relay it rather than promising a revoke. WITHOUT account, EVERY account on that connector is removed (pass account to remove just one). Removing a mailbox stops the emails still waiting to go from it: its sequences pause and say why. RECONNECTING IS THE USER'S JOB: a sign-in account needs their browser (the provider's consent screen), so an agent cannot undo this. Name the provider to the user, then call with confirm:true. Use list_connectors for the exact provider ids.

## Parameters

Parameter Type Description

`provider` required `string` provider id exactly as list_connectors reports it, e.g. "meta", "google_ads", "youtube", "linkedin"

`confirm` `boolean` REQUIRED true. Reconnecting afterwards is the user's job: a sign-in account in their browser, a paste-a-key account by entering its key again

`account` `string` on a channel with several connected accounts (TikTok, X, YouTube, Threads, Bluesky, Telegram, Pinterest): remove ONLY this account (@handle or id from list_connector_accounts) and keep the others

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/disconnect_connector`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"disconnect_connector","arguments":{"provider":"<string>"}}}`
**CLI**

`hermoso call disconnect_connector --json '{"provider":"<string>"}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [list_connectors](https://hermoso.ai/docs/reference/workspace/list_connectors/) List connectors
- [set_connector_accounts](https://hermoso.ai/docs/reference/workspace/set_connector_accounts/) Choose which accounts a brand may use
- [list_connector_accounts](https://hermoso.ai/docs/reference/workspace/list_connector_accounts/) List a connector’s accounts

[All 143 Workspace & account tools](https://hermoso.ai/docs/reference/workspace/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
