Update a webhook
Updates the specified webhook by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
PATCH/v3/webhooks/{id}
JWT
webhook:write
Parameters
| Name | Type | In | Description |
|---|---|---|---|
| id* | string | path | Unique identifier for the webhook. |
Request Body Schema
| Property | Type | Description | Constraints |
|---|---|---|---|
| name | string | Name of the webhook. | min: 1, max: 256 |
| url | string | The endpoint which will receive the HTTP POST payload. | min: 1, max: 256, format: uri |
| token | string | The secret which will be used to sign the payload using HMAC256 algorithm. | min: 1, max: 256 |
| enabled | boolean | Whether webhook is enabled, you can use it to disable a webhook. | |
| events | array | The list of events which trigger the webhook. | items: string |
Request Example
Responses
200
400
401
403
404
429
500