DocsDownload Managementbrowser_cancel_download

browser_cancel_download

Browser Cancel Download

Cancel an in-progress download. Stops the download immediately and may delete partially downloaded content. The download will be marked as 'cancelled' in the downloads list.

Usage Example

1234567891011
import asyncio
from owl_browser import OwlBrowser, RemoteConfig
# Async usage
async with OwlBrowser(config) as browser:
context = await browser.create_context()
context_id = context["context_id"]
await browser.cancel_download(
download_id="value"
)

Parameters

Required

download_idstringrequired

The unique identifier of the in-progress download to cancel. Cancellation stops the download and may delete partially downloaded content

Response

Returns a JSON object with the operation result.

{
  "success": true,
  "result": <value>
}