English
cURL
curl -i -X DELETE "https://api.box.com/2.0/web_links/12345/trash" \ -H "authorization: Bearer <ACCESS_TOKEN>"
{ "type": "error", "status": 400, "code": "item_name_invalid", "message": "Method Not Allowed", "context_info": { "message": "Something went wrong" }, "help_url": "https://developer.box.com/guides/api-calls/permissions-and-errors/common-errors/", "request_id": "abcdef123456" }
Permanently deletes a web link that is in the trash. This action cannot be undone.
The access token received from the authorization server in the OAuth 2.0 flow.
The ID of the web link.
Returns an empty response when the web link was permanently deleted.
Was this page helpful?