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.
Destroy the session you started with sessions.create as soon as you're done, instead of waiting for the 200-second idle timeout to reclaim it.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
session |
string | Yes | The ID of the session you want to destroy. |
Request
bash6 lines
Want to run this request directly in your browser?to try it live with your own API key.
Response
json6 lines
Related concepts
Go deeper in the Scrappey knowledge base:
- Stateful web scraping β reusing cookies and state across requests