Pool

Fetch, list, and manage org pools

sfp pool delete

Delete org instances from a pool. Use --name to delete a single instance, or --all to delete all instances in the pool.

USAGE
  $ 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 --all

See code: src/commands/pool/delete.tsarrow-up-right

sfp pool extend

Extend the expiration time of an assigned org and optionally change its immortal state

See code: src/commands/pool/extend.tsarrow-up-right

sfp pool fetch

Fetch an available org from the pool

See code: src/commands/pool/fetch.tsarrow-up-right

sfp pool list

List pools in a repository, or instances in a specific pool

See code: src/commands/pool/list.tsarrow-up-right

sfp pool unassign

Unassign an org and return it to the available pool

See code: src/commands/pool/unassign.tsarrow-up-right

Last updated

Was this helpful?