> ## 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.

# Delete Context

> Close a browser context

## Description

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

## Authentication

Open-source deployments do not require authentication by default. If your server config enables `X-API-Key`, include that header with the request.

## Path Parameters

<ParamField path="id" type="string" required>
  The browser ID returned from Create Session.
</ParamField>

<ParamField path="ctx_id" type="string" required>
  The context ID returned from Create Context.
</ParamField>

## Response

<ResponseField name="success" type="boolean">
  Whether the context was deleted successfully.
</ResponseField>

## Example

```bash theme={null}
curl -X DELETE http://localhost:8080/browsers/exc-b9534e98-c3ce-4d1b-9671-b563ac66adc3/contexts/ctx-abc123/
```
