| title | weight |
|---|---|
harbor webhook delete |
70 |
Delete a webhook from a specified Harbor project. You can either specify the project name and webhook ID using flags, pass the webhook name as an argument, or interactively select a project and webhook if not provided.
harbor webhook delete [webhook-name] [flags] # Delete by project and webhook ID
harbor-cli webhook delete --project my-project --webhook 5
# Delete by project and webhook name
harbor-cli webhook delete my-webhook --project my-project
# Fully interactive deletion
harbor-cli webhook delete -h, --help help for delete
--project string Project name (required when providing webhook ID or name)
--webhook-id int Webhook ID (alternative to providing webhook name as argument) (default -1) -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 webhook - Manage webhook policies in Harbor