Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.67 KB

V1WebhooksUpdateRequest.md

File metadata and controls

34 lines (25 loc) · 1.67 KB

V1WebhooksUpdateRequest

Body for partially updating a webhook. All fields optional; only present fields are applied.

Properties

Name Type Description Notes
name str Human-readable webhook name. [optional]
description str Free-text note about the webhook purpose. Send null to clear. [optional]
events List[str] Event types that trigger a delivery. Replaces the current list. [optional]
status str Delivery state. Only active webhooks receive events; paused keeps config but stops deliveries. [optional]
url str HTTPS endpoint that receives POST deliveries, authenticated with the webhook secret as `Authorization: Bearer <secret>`. Must be a public domain name (no IPs or internal hosts). [optional]

Example

from hostinger_mail_api.models.v1_webhooks_update_request import V1WebhooksUpdateRequest

# TODO update the JSON string below
json = "{}"
# create an instance of V1WebhooksUpdateRequest from a JSON string
v1_webhooks_update_request_instance = V1WebhooksUpdateRequest.from_json(json)
# print the JSON string representation of the object
print(V1WebhooksUpdateRequest.to_json())

# convert the object into a dict
v1_webhooks_update_request_dict = v1_webhooks_update_request_instance.to_dict()
# create an instance of V1WebhooksUpdateRequest from a dict
v1_webhooks_update_request_from_dict = V1WebhooksUpdateRequest.from_dict(v1_webhooks_update_request_dict)

[Back to Model list] [Back to API list] [Back to README]