# removeTrackedSource

Mutation

Stop tracking a hashtag source, or a mention source with no connected account; posts already collected stay. Keyword sources and YouTube mentions are refused, as are mentions of a connected account, which are managed in the Archive app under Settings › Sources by connecting or disconnecting the account. Keywords are managed there where available, otherwise by Archive. Archive Radar is set up by Archive. For Radar or keywords, contact your Archive account manager or support.

Available to agents as MCP tool `removeTrackedSource` — see [Write tools](/api/v2/docs/mcp/write-tools#remove-tracked-source).

## Arguments

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `sourceId` | `ID!` | Yes | — | The source to stop tracking — a hashtag, or a mention with no connected account — as the `sources` query returns it. |

## Returns

| Name | Type | Description |
| --- | --- | --- |
| `removedSourceId` | `ID` | Id of the removed source; null when userErrors is non-empty. |
| `userErrors` | [`[UserError!]!`](/api/v2/docs/types/user-error) | Refusals: an id the `sources` query does not list, a keyword source, a YouTube mention, a mention of a connected account, or a mention being connected right now (retry). Empty on success. |

## Examples

### Stop tracking a hashtag

Stop tracking a hashtag source; the posts it already collected stay.

```graphql
mutation RemoveTrackedSourceDefault($sourceId: ID!) {
  removeTrackedSource(sourceId: $sourceId) {
    removedSourceId
    userErrors {
      field
      message
    }
  }
}
```

Variables:

```json
{
  "sourceId": "990200001"
}
```

Response — HTTP 200:

```json
{
  "data": {
    "removeTrackedSource": {
      "removedSourceId": "990200001",
      "userErrors": []
    }
  }
}
```
