cURL
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 } '
{ "code": "bad_request", "message": "Missing required field: app_name", "details": [ { "code": "invalid_input", "message": "Provided version string is not semver compliant" } ], "inner_error": { "code": "invalid_input", "message": "Provided version string is not semver compliant" } }
Release a browser back to the pool, optionally recreating the browser instance.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Browser pool ID or name
Request body for releasing a browser back to the pool.
Browser session ID to release back to the pool
"ts8iy3sg25ibheguyni2lg9t"
Whether to reuse the browser instance or destroy it and create a new one. Defaults to true.
false
Browser released successfully