Windows Delete
const options = {method: 'DELETE', headers: {'X-Browser-Use-API-Key': '<api-key>'}};
fetch('https://api.browser-use.com/api/v3/boxes/me/windows/{window_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://api.browser-use.com/api/v3/boxes/me/windows/{window_id} \
--header 'X-Browser-Use-API-Key: <api-key>'import requests
url = "https://api.browser-use.com/api/v3/boxes/me/windows/{window_id}"
headers = {"X-Browser-Use-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Boxes
Windows Delete
DELETE
/
boxes
/
me
/
windows
/
{window_id}
Windows Delete
const options = {method: 'DELETE', headers: {'X-Browser-Use-API-Key': '<api-key>'}};
fetch('https://api.browser-use.com/api/v3/boxes/me/windows/{window_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://api.browser-use.com/api/v3/boxes/me/windows/{window_id} \
--header 'X-Browser-Use-API-Key: <api-key>'import requests
url = "https://api.browser-use.com/api/v3/boxes/me/windows/{window_id}"
headers = {"X-Browser-Use-API-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Was this page helpful?
⌘I