Publish Workspace
publish_workspaceCreate a container version from a workspace, optionally publishing it immediately to production for all visitors.
Instructions
Create a container version from a workspace, optionally publishing it.
This is the Tag Manager release flow: a workspace becomes a version, and a version is published. Creating the version consumes the workspace either way.
publish defaults to false. Passing true releases to the live site immediately, for every visitor -- confirm that is intended before setting it. A version that fails to compile is never published.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the new version, e.g. "Release 2026-09-20". | |
| notes | No | Notes describing what changed. | |
| publish | No | Publish the version to production once created. | |
| account_id | Yes | Numeric Tag Manager account ID. | |
| container_id | Yes | Numeric container ID. | |
| workspace_id | Yes | Numeric workspace ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||