---
title: "How to add and remove data source accounts and data source connections in Query Manager (Supermetrics API)"
slug: "how-to-add-and-remove-data-source-accounts-and-data-source-connections-in-query-manager-supermetrics-api"
description: "Learn how to add and remove data source accounts and connections in Query Manager using the Supermetrics API for efficient data management."
updated: 2025-08-22T09:13:42Z
published: 2025-08-22T09:13:42Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.supermetrics.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to add and remove data source accounts and data source connections in Query Manager (Supermetrics API)

This guide will walk you through how to add and remove data source accounts and data source connections in Query Manager with the Supermetrics API.

These instructions apply to queries you have already created in Query Manager. For new queries using the Supermetrics API, see [instructions on how to use the Query Manager](/v1/docs/how-to-use-the-query-manager).

## Instructions

### Add data source accounts

1. On the [Supermetrics Hub](https://hub.supermetrics.com/), go to **API queries** under **Manage**.
2. Select the data source.
3. Open the schemas tab in the sidebar.
4. Select the schema and the query you want to modify.
5. Navigate to the **Select accounts** dropdown. Note that this label might change depending on the data source you're using — in Google Analytics 4, for example, it reads **Select properties**. [Learn more about data source account names](/v1/docs/about-data-source-accounts).
6. Add the accounts.
7. Save the query.

### Remove data source accounts

1. On the [Supermetrics Hub](https://hub.supermetrics.com/), go to **API queries** under **Manage**.
2. Select the data source.
3. Open the schemas tab in the sidebar.
4. Select the schema and the query you want to modify.
5. Navigate to the **Select accounts** dropdown. Note that this label might change depending on the data source you're using — in Google Analytics 4, for example, it reads **Select properties**. [Learn more about data source account names](/v1/docs/about-data-source-accounts).
6. Click the cross icon (x) next to an account name to remove it.Make sure that **All accounts** is not selected.
7. Save the query.

### Add and remove data source connections

You can easily manage your data source connections on the [Data sources page on the Supermetrics Hub](https://hub.supermetrics.com/token-management).

1. On the Supermetrics Hub, click **Data sources** in the sidebar.
2. Select the data source for which to manage connections.You can add new connections as well as remove and reconnect data source connections.

[Learn more about managing data source connections on the Hub](/v1/docs/how-to-manage-data-source-connections-on-supermetrics-hub).
