Update Sandbox

This command updates the configuration of an existing sandbox or refreshes it.

Usage

$ sfp sandbox:update [flags]
$ sfp org:update:sandbox [flags]

Flags

Examples

$ sfp sandbox:update -o MyDevHub -n my-sandbox
$ sfp sandbox:update -o MyDevHub -f config/sandbox-def.json

Sandbox Definition File

If using a definition file, create a JSON file (default location: config/sandbox-def.json) with the following structure:

{
  "sandboxName": "MySandbox",
  "description": "Updated sandbox description",
  "apexClassId": "01p...",
  "autoActivate": true,
  "copyChatter": true,
  "historyDays": 0,
  "licenseType": "DEVELOPER",
  "templateId": "0TT..."
}

Note: When using a definition file, the --name flag is ignored.

Last updated