Skip to main content
The CLI’s publish and unpublish commands control the visibility of a sandbox template. Publishing makes a template public to everyone outside your team; unpublishing makes it private to your team again. Under the hood both set the template’s public flag.
Note: By default the command asks for confirmation before changing visibility, warning that publishing makes the template public to everyone outside your team. Pass -y / --yes to skip the prompt.

Prerequisites

Set your API key in the environment:
CLI

Usage

CLI
The [template] argument is optional. There are three ways to choose which template(s) to act on:

Options


Examples

CLI
CLI
CLI
On success, publishing prints the public names the template was published as:
Output
Last modified on August 5, 2026