Join BoxWorks 2024 to discover what's possible with content and AI!
Register now!Deletes a web link.
12345
The ID of the web link.
An empty response will be returned when the web link was successfully deleted.
An unexpected client error.
curl -i -X DELETE "https://api.box.com/2.0/web_links/12345" \
-H "authorization: Bearer <ACCESS_TOKEN>"
await client.webLinks.deleteWebLinkById(webLinkId);
client.web_links.delete_web_link_by_id(web_link_id)
await client.WebLinks.DeleteWebLinkByIdAsync(webLinkId: webLinkId);
try await client.webLinks.deleteWebLinkById(webLinkId: webLinkId)
BoxWebLink webLink = new BoxWebLink(api, id);
webLink.delete();
client.web_link('12345').delete()
print('The web link was deleted!')
await client.WebLinksManager.DeleteWebLinkAsync("11111");
client.weblinks.delete('11111')
.then(() => {
// deletion succeeded — no value returned
});
client.webLinks.delete(webLinkId: "11111") { (result: Result<Void, BoxSDKError>) in
guard case .success = result else {
print("Error removing web link")
return
}
print("WebLink removed")
}