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

# Revert Trigger

> Reverts a trigger's workspace changes back to the latest container version state, or removes it if it only existed in the workspace

Reverts a trigger's workspace changes back to the latest container version state, or removes it if it only existed in the workspace.

|                       |                       |
| --------------------- | --------------------- |
| **App**               | Google Tag Manager    |
| **Operation ID**      | `gtm_revert_trigger`  |
| **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.                                                                     |
| `trigger`   | DynamicAccount | Yes      | -       | Select the trigger whose workspace changes should be reverted, or provide its trigger ID. |

## Output

**Type**: `Dict`

Returns the reverted trigger (if it still exists) as provided by the Tag Manager API.
