capabilities.work

Version and Publish a Workspace

A 2-step recipe with Google Tag Manager. We can help you get access.

Recipe · 2 steps

Version and Publish a Workspace

Create a container version from a workspace and publish it if it compiles.

  1. Create a container version from the entities in the workspace.
  2. Publish the newly created container version so it becomes the live version served to users.
What you'll need to have ready
  • accessToken: OAuth 2.0 bearer access token for the Tag Manager API.
  • workspacePath: The workspace API relative path, e.g. accounts/{accountId}/containers/{containerId}/workspaces/{workspaceId}.
  • versionName: Display name for the new container version.
  • versionNotes: Optional notes describing the new container version.
For your developer

Arazzo workflow google-tag-manager:version-and-publish-workspace, 2 operations: createWorkspaceVersion → publishContainerVersion. Specs on APIs.io.