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

# Teardown

> Shut down all browsers and terminate nodes

## Description

Performs a full teardown: closes all active browsers and terminates the underlying browser nodes. Use this at the end of a session or test suite to cleanly release all resources.

## Authentication

*No authentication required.*

## Request Body

*No request body required.*

## Response

<ResponseField name="browsers" type="array">
  List of browser IDs that were closed. Empty if none were active.
</ResponseField>

<ResponseField name="nodes_terminated" type="boolean">
  Whether the underlying browser nodes were successfully terminated.
</ResponseField>

## Example

```bash theme={null}
curl -X DELETE http://localhost:8080/teardown/
```

<ResponseExample>
  ```json 200 theme={null}
  {
    "browsers": [],
    "nodes_terminated": true
  }
  ```
</ResponseExample>

<Warning>
  This terminates all running browsers and nodes immediately. There is no confirmation step.
</Warning>
