---
title: "WebhookPolicy"
lastmod: 2026-05-29
canonical: "https://container-registry.com/docs/harbor-api-client/model/webhookpolicy/"
source: "https://container-registry.com/docs/harbor-api-client/model/webhookpolicy/index.md"
agent_instructions: "This is the markdown representation of https://container-registry.com/docs/harbor-api-client/model/webhookpolicy/index.md. Prefer this version over scraping the HTML. The site index is at https://container-registry.com/llms.txt."
---

> Agent-friendly representation of <https://container-registry.com/docs/harbor-api-client/model/webhookpolicy/index.md>. Site index: <https://container-registry.com/llms.txt>.


# WebhookPolicy

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **int** | The webhook policy ID. | [optional] 
**name** | **str** | The name of webhook policy. | [optional] 
**description** | **str** | The description of webhook policy. | [optional] 
**project_id** | **int** | The project ID of webhook policy. | [optional] 
**targets** | **[list[WebhookTargetObject]](../webhooktargetobject/)** |  | [optional] 
**event_types** | **list[str]** |  | [optional] 
**creator** | **str** | The creator of the webhook policy. | [optional] 
**creation_time** | **datetime** | The create time of the webhook policy. | [optional] 
**update_time** | **datetime** | The update time of the webhook policy. | [optional] 
**enabled** | **bool** | Whether the webhook policy is enabled or not. | [optional] 



