EaserixDocs
DevelopersAPI referenceLinksWebhooks

Update a webhook

Update url, events, or active. Re-activating resets the failure count.

View as Markdown
PATCH
/v1/webhooks/{id}
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/webhooks/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "webhook": {    "id": "string",    "url": "string",    "events": [      "string"    ],    "active": true,    "failureCount": 0,    "lastStatus": 0,    "lastDelivery": "2019-08-24T14:15:22Z",    "secret": "string",    "created": "2019-08-24T14:15:22Z"  }}