Removes a shared link from a web link.
12345The ID of the web link.
shared_linkExplicitly request the shared_link fields
to be returned for this item.
Returns a basic representation of a web link, with the shared link removed.
Returned when the access token provided in the Authorization header
is not recognized or not provided.
Returned if the user does not have all the permissions to complete the update.
Returned if the file is not found, or the user does not have access to the file.
Returned if the file_id is not in a recognized format.
Returns an error when the If-Match header does not match
the current etag value of the file. This indicates that the file
has changed since it was last requested.
An unexpected client error.
curl -i -X PUT "https://api.box.com/2.0/web_links/32423234?fields=shared_link" \
-H "authorization: Bearer <ACCESS_TOKEN>" \
-d '{
"shared_link": null
}'await client.sharedLinksWebLinks.removeSharedLinkFromWebLink(
webLinkId,
{ sharedLink: createNull() } satisfies RemoveSharedLinkFromWebLinkRequestBody,
{ fields: 'shared_link' } satisfies RemoveSharedLinkFromWebLinkQueryParams,
);client.shared_links_web_links.remove_shared_link_from_web_link(
web_link_id, "shared_link", shared_link=create_null()
)await client.SharedLinksWebLinks.RemoveSharedLinkFromWebLinkAsync(webLinkId: webLinkId, requestBody: new RemoveSharedLinkFromWebLinkRequestBody() { SharedLink = null }, queryParams: new RemoveSharedLinkFromWebLinkQueryParams(fields: "shared_link"));client.getSharedLinksWebLinks().removeSharedLinkFromWebLink(webLinkId, new RemoveSharedLinkFromWebLinkRequestBody.Builder().sharedLink(null).build(), new RemoveSharedLinkFromWebLinkQueryParams("shared_link"))client.web_link('12345').remove_shared_link()BoxWebLink updatedLink = client.WebLinksManager.DeleteSharedLinkAsync("11111");{
"etag": "1",
"id": "12345",
"shared_link": null,
"type": "web_link"
}