# disconnect_account

> Page: https://docs.flung.dev/reference/mcp/disconnect-account. Index of every page: https://docs.flung.dev/llms.txt

Disconnect an account. Deletes the stored tokens: the account stops posting until a person reconnects it. Only when the person asks for it, and pass confirm: true. To fix a broken account, use reconnect_account instead.

## TL;DR

| Question | Answer |
|---|---|
| What does it do? | Deletes the stored tokens: the account stops posting until a person reconnects it. Only when the person asks for it, and pass confirm: true. To fix a broken account, use reconnect_account instead. |
| Does it change anything? | Changes or removes something. Ask the person before calling it. |
| Which endpoint does it call? | [`DELETE /v1/accounts/{id}`](https://docs.flung.dev/reference/api/delete-v1-accounts-id.md) |
| Which server? | `https://mcp.flung.dev/mcp-oauth` (sign in) or `https://mcp.flung.dev/mcp` (API key). |

## Arguments

| Argument | Type | Required | Description |
|---|---|---|---|
| `accountId` | `string` | yes | An account id (acct_...) from list_accounts. at least 1 character; at most 64 characters; pattern `^acct_[a-z2-7]+$`. |
| `confirm` | `true` | yes | Must be true: the person asked to disconnect this account. |

## Example call

```json
{
  "name": "disconnect_account",
  "arguments": {
    "accountId": "acct_aaaaaaaaaaaaaaaaaaaaaaaa",
    "confirm": true
  }
}
```

## Things a person might say

- "Disconnect our old Mastodon account."

## Annotations

| Hint | Value |
|---|---|
| `readOnlyHint` | false |
| `destructiveHint` | true |
| `idempotentHint` | true |
| `openWorldHint` | false |

## See also

| Doc | Why |
|---|---|
| [MCP tools](https://docs.flung.dev/reference/mcp.md) | Every tool |
| [Connect an AI agent](https://docs.flung.dev/mcp.md) | Install the server in your client |
| [`DELETE /v1/accounts/{id}`](https://docs.flung.dev/reference/api/delete-v1-accounts-id.md) | The same operation over HTTP |
