Authorization: Bearer ********************x-api-key: ********************apikey: ********************curl --location --request PATCH 'https://api.hyperzod.app/system/v1/webhook/admin/webhooks/507f1f77bcf86cd799439011' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Tenant Lifecycle",
"events": [
"tenant.created"
],
"url": "https://hooks.example.com/hyperzod",
"status": true
}'{
"success": true,
"service": "webhook-service",
"status_code": 200,
"data": {
"id": "507f1f77bcf86cd799439011",
"name": "Tenant Lifecycle",
"events": [
"tenant.created"
],
"url": "https://hooks.example.com/hyperzod",
"status": true,
"secret_key": "example-generated-secret-not-valid"
}
}