Skip to content

rspm delete#

Commands to delete entities

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


  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]


  -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#

  -c, --config string          Path to config file
  -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