Skip to main content
POST
/
browser_pools
/
{id_or_name}
/
release
Release a browser back to the pool
curl --request POST \
  --url https://api.onkernel.com/browser_pools/{id_or_name}/release \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "session_id": "ts8iy3sg25ibheguyni2lg9t",
  "reuse": false
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id_or_name
string
required

Browser pool ID or name

Body

application/json

Request body for releasing a browser back to the pool.

session_id
string

Browser session ID to release back to the pool

Example:

"ts8iy3sg25ibheguyni2lg9t"

reuse
boolean
default:true

Whether to reuse the browser instance or destroy it and create a new one. Defaults to true.

Example:

false

Response

Browser released successfully