Platform
CLI reference

ccp sandbox

View as Markdown

Create and connect to ephemeral Sandboxes

Usage: ccp sandbox [OPTIONS] <COMMAND>
ArgumentType or valuesDefaultParser environment variableDescription
--help, -hflag——Print help

ccp sandbox list

List Sandboxes in an organization

Usage: ccp sandbox list [OPTIONS]

Aliases: ls.

ArgumentType or valuesDefaultParser environment variableDescription
--org-idtext——Organization to list
--jsonflagfalse—Emit an array of Sandbox summaries
--help, -hflag——Print help

ccp sandbox delete

Delete a Sandbox

Usage: ccp sandbox delete [OPTIONS] <SANDBOX_ID>

Aliases: rm.

ArgumentType or valuesDefaultParser environment variableDescription
sandbox_idtext——
--yes, -yflagfalse—Confirm deletion
--help, -hflag——Print help

ccp sandbox create

Create an ephemeral Sandbox from a template or published environment

Usage: ccp sandbox create [OPTIONS]
ArgumentType or valuesDefaultParser environment variableDescription
--templatetext——Applied SandboxTemplate name
--environment-revisiontext——Exact published environment revision (machine provisioning, not session startup)
--org-idtext——Organization ID (defaults to CCP_ORG_ID or the picker)
--ttlduration15m—Absolute lifetime, such as 15m or 1h
--help, -hflag——Print help

ccp sandbox connect

Create scoped access to a declared Sandbox service

Usage: ccp sandbox connect [OPTIONS] <SANDBOX_ID> <SERVICE>
ArgumentType or valuesDefaultParser environment variableDescription
sandbox_idtext——Sandbox ID
servicetext——Declared service name
--ttlduration15m—Access lifetime, such as 5m or 1h
--jsonflagfalse—Emit the stable endpoint, token, and expiry JSON contract
--help, -hflag——Print help

ccp sandbox desktop

Open a graphical Sandbox desktop through a local authenticated tunnel

Usage: ccp sandbox desktop [OPTIONS] <SANDBOX_ID>
ArgumentType or valuesDefaultParser environment variableDescription
sandbox_idtext——Sandbox ID
--ttlduration15m—Access lifetime, such as 5m or 1h
--help, -hflag——Print help

Example

ccp sandbox create --template browser --ttl 15m

Global options

Set CCP_CONTEXT to choose a named context. An explicit --context takes precedence. See organization selection for organization defaults.

ArgumentType or valuesDefaultParser environment variableDescription
--contexttext——Select a developer context from ~/.ccp/config.toml

On this page