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

# Delete Gtag Config

> Deletes a google tag config from a Google Tag Manager workspace

Deletes a google tag config from a Google Tag Manager workspace. The change goes live once a version is created and published.

|                       |                          |
| --------------------- | ------------------------ |
| **App**               | Google Tag Manager       |
| **Operation ID**      | `gtm_delete_gtag_config` |
| **Type**              | Action                   |
| **Connection**        | `gtm` (required)         |
| **Credits per run**   | 1                        |
| **Agent / MCP tool**  | Yes                      |
| **Requires approval** | Yes (write operation)    |

## Inputs

| Field         | Type           | Required | Default | Description                                                |
| ------------- | -------------- | -------- | ------- | ---------------------------------------------------------- |
| `account`     | DynamicAccount | Yes      | -       | Select the Google Tag Manager account.                     |
| `container`   | DynamicAccount | Yes      | -       | Select the container.                                      |
| `workspace`   | DynamicAccount | Yes      | -       | Select the workspace.                                      |
| `gtag_config` | DynamicAccount | Yes      | -       | Select the google tag config to delete, or provide its ID. |

## Output

**Type**: `Dict`

Returns \{deleted: true, gtagConfigId} on success (the API returns an empty body).
