Update a Webhook
Changes a webhook’s URL, description, events, products, or whether it is on. The signing secret is not changed.
Authorizations
A user API token, or a product API key created in a product's settings.
A product API key only works on the routes for its own product, under
/api/orgs/{org_name}/products/{product_name}, and on /api/devices/{identifier}
for that product's devices. What it may do there is decided by the role it
holds, the same way a member's role decides what they may do.
Body
Webhook update request body
PUT/PATCH body for changing a webhook. Omitted fields are left as they are. Turning a webhook on clears what failed deliveries recorded about it.
device.connected, device.disconnected, device.health_reported, device.metrics_reported, device.health_status_changed, device.firmware_update.scheduled, device.firmware_update.progress, device.firmware_update.finished, device.firmware_validated, error_group.created, error_group.reopened, deployment_group.workflow_step.started, deployment_group.workflow_step.awaiting_approval, deployment_group.workflow_step.completed, deployment_group.workflow_step.failed, deployment_group.workflow_step.skipped 
