Web links
Update web link
Changed onUpdates a web link object.
put/web_links/{web_link_id}
Request
- Base URLhttps://api.box.com/2.0
- URLhttps://api.box.com/2.0/web_links/{web_link_id}
- AuthOAuth 2Authorization code: https://account.box.com/api/oauth2/authorizeToken URL: https://api.box.com/oauth2/token
Path parameters
web_link_idstring required
The ID of the web link.
Request body
Example request
{
"url": "https://box.com",
"parent": {
"id": "123",
"user_id": "12346930"
},
"name": "Box Website",
"description": "Cloud Content Management",
"shared_link": {
"access": "open",
"password": "do-not-use-this-password",
"vanity_name": "my-shared-link",
"unshared_at": "2012-12-12T10:53:43-08:00",
"one_time_passcode": {
"mode": "none"
}
}
}Response
Returns the updated web link object.
Example response
{
"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
},
"download_count": 3,
"preview_count": 3,
"one_time_passcode": {
"mode": "allowlist",
"allowlist": [
{
"type": "email",
"value": "alice@example.com",
"created_at": "2026-05-19T12:00:00Z",
"created_by": {
"id": "11446498",
"type": "user"
}
},
{
"type": "domain",
"value": "example.com",
"created_at": "2026-05-19T12:00:00Z",
"created_by": {
"id": "11446498",
"type": "user"
}
}
]
}
},
"item_status": "active",
"collections": [
{
"id": "11446498",
"type": "collection",
"name": "Favorites",
"collection_type": "favorites"
}
],
"allowed_shared_link_access_levels": [
"open"
]
}Changes
- breaking
the response property
/became nullable for the status - warning
added the new
unprocessable_entityenum value to theresponse property for the response status - info
added the new optional request property
/ - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added
subschema #2to the/response propertyallOflist for the response status - info
removed
subschema #2subschema #3from the/response propertyallOflist for the response status - info
added the required property
///to the response with the status
- breaking