Pool
sfp pool delete
sfp pool deleteUSAGE
$ sfp pool delete -r <value> -p <value> [--json] [-e <value>] [-t <value>] [--sfp-server-url <value>] [-g
<value>...] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] [--all | -n <value> |
-f]
FLAGS
-e, --email=<value> Email address for authenticated user. Ignored if --application-token is provided.
Can be set via SFP_SERVER_USER env var.
-f, --force Force deletion even if the instance is less than 24 hours old, is immortal, or
Salesforce deletion fails
-g, --logsgroupsymbol=<value>... Symbol used by CICD platform to group/collapse logs in the console. Provide an
opening group, and an optional closing group symbol.
-n, --name=<value> Name/username of the org instance to delete (sandbox name or scratch org username)
-p, --tag=<value> (required) Pool tag where the org belongs
-r, --repository=<value> (required) Repository identifier in format owner/repo (GitHub/GitLab) or
org/project/repo (Azure DevOps)
-t, --application-token=<value> Application token for CI/CD authentication. Can be set via SFP_SERVER_TOKEN env var
(CLI flags take precedence over env vars).
--all Delete all instances in the pool (keeps pool config intact)
--loglevel=<option> [default: info] logging level for this command invocation
<options: trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL>
--sfp-server-url=<value> URL of the SFP server. Can be set via SFP_SERVER_URL env var or config: sfp
config:set server-url
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Delete org instances from a pool. Use --name to delete a single instance, or --all to delete all instances in the
pool.
EXAMPLES
$ sfp pool delete -r myorg/myrepo -p dev_pool --name [email protected]
$ sfp pool delete -r myorg/myrepo -p dev_pool --name 123456 --force
$ sfp pool delete -r myorg/myrepo -p dev_pool --allsfp pool extend
sfp pool extendsfp pool fetch
sfp pool fetchsfp pool list
sfp pool listsfp pool unassign
sfp pool unassignLast updated
Was this helpful?