DELETE
/web_links/{web_link_id}/trashPermanently remove web link
Permanently deletes a web link that is in the trash. This action cannot be undone.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
web_link_idstringrequired
The ID of the web link.
204Returns an empty response when the web link was
permanently deleted.
404Returns an error if the web link is not in the trash.
typestringoptional
The value will always be `error`.
statusintegeroptional
The HTTP status of the response.
codestringoptional
A Box-specific error code.
messagestringoptional
A short message describing the error.
context_infoobjectoptional
A free-form object that contains additional context
about the error. The possible fields are defined on
a per-endpoint basis. `message` is only one example.
help_urlstringoptional
A URL that links to more information about why this error occurred.
request_idstringoptional
A unique identifier for this response, which can be used
when contacting Box support.
defaultAn unexpected client error.
typestringoptional
The value will always be `error`.
statusintegeroptional
The HTTP status of the response.
codestringoptional
A Box-specific error code.
messagestringoptional
A short message describing the error.
context_infoobjectoptional
A free-form object that contains additional context
about the error. The possible fields are defined on
a per-endpoint basis. `message` is only one example.
help_urlstringoptional
A URL that links to more information about why this error occurred.
request_idstringoptional
A unique identifier for this response, which can be used
when contacting Box support.
Error handling
A 404 is returned: Returns an error if the web link is not in the trash. Any other status is an error: An unexpected client error.