Variables: revert

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


HTTP request



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


This request requires authorization with the following scope:


For more information, see the authentication and authorization page.

Request body

Do not supply a request body with this method.


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

  "variable": accounts.containers.workspaces.variables Resource
Property name Value Description Notes
variable nested object Variable as it appears in the latest container version since the last workspace synchronization operation. If no variable is present, that means the variable 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.