Join BoxWorks 2024 to discover what's possible with content and AI!
Register now!Permanently deletes a web link that is in the trash. This action cannot be undone.
12345
The ID of the web link.
Returns an empty response when the web link was permanently deleted.
Returns an error if the web link is not in the trash.
An unexpected client error.
curl -i -X DELETE "https://api.box.com/2.0/web_links/12345/trash" \
-H "authorization: Bearer <ACCESS_TOKEN>"
await client.trashedWebLinks.deleteTrashedWebLinkById(weblink.id);
client.trashed_web_links.delete_trashed_web_link_by_id(weblink.id)
await client.TrashedWebLinks.DeleteTrashedWebLinkByIdAsync(webLinkId: weblink.Id);
try await client.trashedWebLinks.deleteTrashedWebLinkById(webLinkId: weblink.id)
web_link = client.web_link(web_link_id='33333')
client.trash().permanently_delete_item(web_link)
print('The web link was deleted from trash!')