| title | weight |
|---|---|
harbor project delete |
100 |
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]harbor project delete [projectname1] [projectname2] or harbor project delete --project-id [projectid] --force Forcefully delete all repositories, artifacts, and policies in the project. Use with extreme caution—this action is irreversible.
-h, --help help for delete
--project-id string Specify project ID instead of project name -c, --config string config file (default is $HOME/.config/harbor-cli/config.yaml)
-o, --output-format string Output format. One of: json|yaml
-v, --verbose verbose output- harbor project - Manage projects and assign resources to them