Delete webhook

delete
https://api.box.com/2.0
/webhooks/:webhook_id

Deletes a webhook.

Request

application/json

Path Parameters

stringin pathrequired
3321123

The ID of the webhook.

Response

none

An empty response will be returned when the webhook was successfully deleted.

application/jsonClient Error

Returns an error if the application does not have the permission to manage webhooks.

application/jsonClient Error

Returns an error if the webhook could not be found

You can now try out some of our APIs live, right here in the documentation.
Log In

Request Example

cURL
curl -X DELETE https://api.box.com/2.0/webhooks/3321123 \
     -H "Authorization: Bearer <ACCESS_TOKEN>"
.NET
await client.WebhooksManager.DeleteWebhookAsync("11111");
Python
client.webhook(webhook_id='12345').delete()
print('The webhook was successfully deleted!')
Node
client.webhooks.delete('1234')
	.then(() => {
		// deletion succeeded — no value returned
	});