Authorization: Bearer ********************curl --location --request PUT 'https://api-staging.tenbyte.io/v1/v1/libraries/314221a1-3cbf-4d3c-846e-f6c22bc43064/webhooks/endpoints/a7f590b4-3fd7-42a4-82bb-a7cfa6aa9d04' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"url": "https://example.com/webhooks/tenbyte",
"name": "Video processing events",
"events": [
"uploaded",
"downloading"
],
"secret": "auto-generate"
}'{
"data": {
"updated_at": "2025-10-15T13:18:25.690910108+06:00",
"created_at": "2025-10-15T13:06:54.816373+06:00",
"library_id": "78542c6f-0dc1-4859-a122-35ad6f139827",
"updated_by": "2fa3fe27-ffcd-470b-becf-83f6f22a93ab",
"created_by": "2fa3fe27-ffcd-470b-becf-83f6f22a93ab",
"headers": null,
"name": "Video processing events",
"url": "https://example.com/webhooks/vidinfra",
"events": [
"uploaded",
"transcoded"
],
"id": "8e5f8558-50dc-453f-9c36-4e4e9033b36a",
"organization_id": "677826f5-1aea-4cba-8973-043cdbc60f35",
"is_active": true
},
"message": "Webhook Endpoint Updated Successfully",
"success": true
}