Update webhook endpoint
Update a webhook endpoint. Only the provided fields change.
Update a webhook endpoint. Only the provided fields change.
ApiKeyAuth In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
curl -X PUT "https://commet.co/api/v1/webhooks/string" \ -H "Content-Type: application/json" \ -d '{}'uri1 <= itemsDestination URL (HTTPS)
Webhook events to subscribe to
Pin the endpoint to an API version
Update a webhook endpoint. Only the provided fields change.
Webhook endpoint public ID
{
"success": true,
"data": {
"object": "webhook",
"livemode": true,
"id": "string",
"url": "http://example.com",
"events": [
"string"
],
"description": "string",
"isActive": true,
{
"success": false,
"error": {
"type": "validation_error",
"code": "string",
"message": "string",
"doc_url": "string",
"param": "string"
}
}{
"success": false,
"error": {
"type": "validation_error",
"code": "string",
"message": "string",
"doc_url": "string",
"param": "string"
}
}