Update a webhook

PATCH

Update a webhook. Fields that aren’t specified in the body will remain unchanged

Path parameters

idstringRequired

Request

This endpoint expects an object.
urlstringOptional>=1 character<=1024 characters

The URL of the webhook

eventslist of enumsOptional

A list of events that this webhook subscribes to

tokenstringOptional<=128 characters

A secret string used to authenticate the webhook. This value will be included in the X-Ntropy-Token header when sending requests to the webhook

enabledbooleanOptionalDefaults to false

Whether the webhook is enabled or not.

Response

Successful Response

urlstring>=1 character<=1024 characters

The URL of the webhook

eventslist of enums

A list of events that this webhook subscribes to

idstring

A generated unique identifier for the webhook

created_atdatetime

The date and time when the webhook was created.

enabledboolean

Whether the webhook is enabled or not.

tokenstringOptional<=128 characters

A secret string used to authenticate the webhook. This value will be included in the X-Ntropy-Token header when sending requests to the webhook