Skip to main content
DELETE
/
v1
/
browsers
/
{id}
/
contexts
/
{ctx_id}
Delete Context
curl --request DELETE \
  --url https://api.example.com/v1/browsers/{id}/contexts/{ctx_id}/
{
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.rustybrowser.com/llms.txt

Use this file to discover all available pages before exploring further.

Description

Closes and destroys a specific browser context. All pages and storage associated with the context are discarded.

Authentication

Authorization: Bearer YOUR_API_KEY
Self-hosted open source deployments do not require authentication.

Path Parameters

id
string
required
The browser ID returned from Create Session.
ctx_id
string
required
The context ID returned from Create Context.

Response

success
boolean
Whether the context was deleted successfully.

Example

curl -X DELETE https://your-host/browsers/exc-b9534e98-c3ce-4d1b-9671-b563ac66adc3/contexts/ctx-abc123/