harbor project delete

harbor project delete

Description

Delete project by name or ID

Synopsis

Delete project by name or ID. Multiple projects can be deleted by providing their names as arguments. If no arguments are provided, it will prompt for the project name. Use –project-id to specify the project ID for single project directly. The –force flag will delete all repositories and artifacts within the project.

harbor project delete [flags]

Examples

harbor project delete [projectname1] [projectname2] or harbor project delete --project-id [projectid]

Options

      --force[=true|false]   Forcefully delete all repositories, artifacts, and policies in the project. Use with extreme caution—this action is irreversible.
  -h, --help[=true|false]    help for delete
      --project-id string    Specify project ID instead of project name

Options inherited from parent commands

  -c, --config string          config file (default is $HOME/.config/harbor-cli/config.yaml)
  -l, --log-format string      Output format for logging. One of: json|text (default "text")
  -o, --output-format string   Output format. One of: json|yaml|csv
  -v, --verbose[=true|false]   verbose output

SEE ALSO