Skip to content

rspm delete#

Commands to delete entities

rspm delete [source|repo|git-builder|git-credential|ssh-key|blocklist-rule] [flags]

Examples#

  rspm delete source --name=[source name]
  rspm delete repo --name=[repo name]
  rspm delete ssh-key --name=[key name] (deprecated in favor of git-credential)
  rspm delete git-credential --name=[key name] --type=[ssh|https]
  rspm delete git-builder --name=[git-builder name] --source=[source name]
  rspm delete blocklist-rule --id=[rule id]

Options#

  -h, --help            help for delete
      --name string     The name of the repo, source or git-builder to be deleted.
      --source string   For git-builders, specify the name of the source from which to delete.
      --type string     For git-credential, specify the type of key to delete. Only necessary if you have multiple types of keys with the same name.

Options inherited from parent commands#

  -a, --address string             The address of the remote server. If not specified, the PACKAGEMANAGER_ADDRESS environment variable is used.
  -c, --config string              Path to config file
      --insecure-ssl-skip-verify   If true, skip SSL certificate validation. This reduces the security that SSL normally provides.
  -o, --output-format string       Specify the output format 'human' for human-readable output or 'json' for JSON-encoded output. (default "human")
  -v, --verbose                    Provide additional output