Remove shared link from web link
PUT https://{{api.box.com}}/2.0/web_links/:web_link_id?fields=shared_link
Removes a shared link from a web link.
https://developer.box.com/reference/put-web-links-id#remove-shared-link
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
fields | string | Explicitly request the shared_link fields | |
to be returned for this item. |
Request Body
{"shared_link"=>nil}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"id":"11446498","type":"web_link","etag":"1","url":"https://www.example.com/example/1234","sequence_id":"3","name":"My Bookmark","parent":{"id":"12345","etag":"1","type":"folder","sequence_id":"3","name":"Contracts"},"description":"Example page","path_collection":{"total_count":1,"entries":[{"id":"12345","etag":"1","type":"folder","sequence_id":"3","name":"Contracts"}]},"created_at":"2012-12-12T10:53:43-08:00","modified_at":"2012-12-12T10:53:43-08:00","trashed_at":"2012-12-12T10:53:43-08:00","purged_at":"2012-12-12T10:53:43-08:00","created_by":{"id":"11446498","type":"user","name":"Aaron Levie","login":"ceo@example.com"},"modified_by":{"id":"11446498","type":"user","name":"Aaron Levie","login":"ceo@example.com"},"owned_by":{"id":"11446498","type":"user","name":"Aaron Levie","login":"ceo@example.com"},"shared_link":{"url":"https://www.box.com/s/vspke7y05sb214wjokpk","download_url":"https://www.box.com/shared/static/rh935iit6ewrmw0unyul.jpeg","vanity_url":"https://acme.app.box.com/v/my_url/","vanity_name":"my_url","access":"open","effective_access":"company","effective_permission":"can_download","unshared_at":"2018-04-13T13:53:23-07:00","is_password_enabled":true,"permissions":{"can_download":true,"can_preview":true,"can_edit":false},"download_count":3,"preview_count":3},"item_status":"active"}