Skip to content

webhook policy

webhook policy delete

webhook policy delete <PROJECT_NAME_OR_ID> --policy-id <POLICY_ID>

Delete a webhook policy.

Arguments

PROJECT_NAME_OR_ID
Name or ID of the project to use. Prefix with 'id:' to specify an ID.
Type: text
Required:

Options

--policy-id <POLICY_ID>
ID of the webhook policy to delete.
Type: integer
Required:


webhook policy get

webhook policy get <PROJECT_NAME_OR_ID> --policy-id <POLICY_ID>

Get a webhook policy.

Arguments

PROJECT_NAME_OR_ID
Name or ID of the project to use. Prefix with 'id:' to specify an ID.
Type: text
Required:

Options

--policy-id <POLICY_ID>
ID of the webhook policy to get.
Type: integer
Required:


webhook policy list

webhook policy list <PROJECT_NAME_OR_ID> [OPTIONS]

List webhook policies.

Arguments

PROJECT_NAME_OR_ID
Name or ID of the project to use. Prefix with 'id:' to specify an ID.
Type: text
Required:

Options

--query <QUERY>
Query parameters to filter the results.
See harborapi docs for more information.
Type: text

--sort <SORT>
Sorting order of the results. Example: 'name,-id' to sort by name ascending and id descending.
Type: text

--page <PAGE>
(Advanced) Page to begin fetching from.
Type: integer
Default: 1

--page-size <PAGE_SIZE>
(Advanced) Results to fetch per API call.
Type: integer
Default: 10

--limit <LIMIT>
Maximum number of results to fetch.
Type: integer