Manage Applications

    Delete a webhook

    Delete a webhook

    To remove a webhook from a file or folder in Box you will need to provide our API with the ID of the webhook to remove.

    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
    	});

    Webhook ID

    To find the ID of the webhook, use the List all webhooks endpoint.