Update a webhook
Update a webhook
POST
https://api.complycube.com/v1/webhooks/:id
Updates the specified webhook by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Path Parameters
Name | Type | Description |
---|---|---|
id | string | The ID of the webhook. |
Headers
Name | Type | Description |
---|---|---|
Content-Type | string | The content-type must always be set to |
Authorization | string | Authentication token to track down who is emptying our stocks. |
Request Body
Name | Type | Description |
---|---|---|
description | string | An optional description of what the webhook is used for. |
url | string | URL of the webhook. |
enabled | string | Determines whether the webhook should be active. |
events | string | The list of event types for which the event is subscribed |
Example request
Last updated