> ## 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.

# Update Account

> Updates a Google Tag Manager account's name or data sharing setting

Updates a Google Tag Manager account's name or data sharing setting. Use gtm\_list\_accounts to find the account first.

| | |
| - | - |
| **App** | Google Tag Manager |
| **Operation ID** | `gtm_update_account` |
| **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 to update. |
| `name` | string | No | - | New display name for the account. |
| `share_data` | boolean | No | - | Whether the account shares data anonymously with Google and others to improve the product. |

## Output

**Type**: `Dict`

Returns the updated account as provided by the Tag Manager API.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.