webhook policy
webhook policy delete
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
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
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