Spotted something off?Report on Discord
api reference
sessions.destroy
Destroy an active browser session to free resources and prevent session or memory limit overruns.
Updated May 30, 2025
Cleanly shuts down a browser session and frees up system resources.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
session |
string | Yes | The ID of the session you want to destroy. |
Request
json4 lines
Response
json6 lines
Related concepts
Go deeper in the Scrappey knowledge base:
- Stateful web scraping β reusing cookies and state across requests