Manage Applications

    Permanently delete web link

    delete
    https://api.box.com/2.0
    /web_links/:web_link_id/trash

    Permanently deletes a web link that is in the trash. This action cannot be undone.

    Request

    application/json

    Path Parameters

    Response

    none

    Returns an empty response when the web link was permanently deleted.

    application/jsonClient Error

    Returns an error if the web link is not in the trash.

    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/web_links/12345/trash \
         -H "Authorization: Bearer <ACCESS_TOKEN>"
    Python
    web_link = client.web_link(web_link_id='33333')
    client.trash().permanently_delete_item(web_link)
    print('The web link was deleted from trash!')