curl -i -X DELETE "https://api.box.com/2.0/webhooks/3321123" \
-H "authorization: Bearer <ACCESS_TOKEN>"
await client.webhooks.deleteWebhookById(webhook.id!);
client.webhooks.delete_webhook_by_id(webhook.id)
await client.Webhooks.DeleteWebhookByIdAsync(webhookId: NullableUtils.Unwrap(webhook.Id));
client.webhook(webhook_id='12345').delete()
print('The webhook was successfully deleted!')
await client.WebhooksManager.DeleteWebhookAsync("11111");
client.webhooks.delete('1234')
.then(() => {
// deletion succeeded — no value returned
});
client.webhooks.delete(webhookId: "22222") { result: Result<Void, BoxSDKError>} in
guard case .success = result else {
print("Error deleting webhook")
return
}
print("Webhook successfully deleted")
}