Parallel Works

pw context delete

Delete a context

Synopsis

The pw context delete command removes a context from the credentials file.

If the context being deleted is the current one, you must use the --force flag. When deleting the current context with --force, another available context will be selected as the new current context automatically.

pw context delete <context-name> [flags]

Examples

  pw context delete user@staging.parallel.works
  
  # Force delete the current context
  pw context delete --force user@activate.parallel.works
  
  # Using alias
  pw ctx delete old-context

Options

  -f, --force   Force delete even if this is the current context
  -h, --help    help for delete

Options inherited from parent commands

      --context string         The context to use. Overrides PW_CONTEXT environment variable and current context from config.
      --platform-host string   The Parallel Works ACTIVATE platform host to use. Will override any other platform host settings.
  -v, --verbose                Enable verbose logging

SEE ALSO