client.getWebhooks().updateWebhookById(webhook.getId(), new UpdateWebhookByIdRequestBody.Builder().address("https://example.com/updated-webhook").build())
BoxWebHook webhook = new BoxWebHook(api, id);BoxWebHook.Info info = webhook.new Info();info.setAddress(url);webhook.update(info);
update_object = { 'triggers': ['FILE.COPIED'], 'address': 'https://newexample.com',}webhook = client.webhook(webhook_id='12345').update_info(data=update_object)print(f'Updated the webhook info for triggers: {webhook.triggers} and address: {webhook.address}')
var updates = new BoxWebhookRequest(){ Id = "12345", Address = "https://example.com/webhooks/fileActions};BoxWebhook updatedWebhook = await client.WebhooksManager.UpdateWebhookAsync(updates);