Triggers: revert

Requires authorization

Reverts changes to a GTM Trigger in a GTM Workspace. Try it now.

Request

HTTP request

POST https://www.googleapis.com/tagmanager/v2/+path:revert

Parameters

Parameter name Value Description
Path parameters
path string GTM Trigger's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/triggers/{trigger_id}
Optional query parameters
fingerprint string When provided, this fingerprint must match the fingerprint of the trigger in storage.

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/tagmanager.edit.containers

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "trigger": accounts.containers.workspaces.triggers Resource
}
Property name Value Description Notes
trigger nested object Trigger as it appears in the latest container version since the last workspace synchronization operation. If no trigger is present, that means the trigger was deleted in the latest container version.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.