Release a browser back to the pool
Release a browser back to the pool, optionally recreating the browser instance.
/browser_pools/{id_or_name}/releaseRelease a browser back to the pool, optionally recreating the browser instance.
Authorization
bearerAuth In: header
Path Parameters
Browser pool ID or name
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request body for releasing a browser back to the pool.
Response
Browser released successfully
curl -X POST "https://example.com/browser_pools/string/release" \ -H "Content-Type: application/json" \ -d '{ "session_id": "string" }'{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}postAcquire a browser from the pool
Long-polling endpoint to acquire a browser from the pool. Returns immediately when a browser is available, or returns 204 No Content when the poll times out. The client should retry the request to continue waiting for a browser. The acquired browser will use the pool's timeout_seconds for its idle timeout.
postFlush all idle browsers in the pool
Destroys all idle browsers in the pool; leased browsers are not affected.