Update a browser pool
Changed onUpdates the configuration used to create browsers in the pool. As with creation, save_changes on the pool profile is ignored (not rejected); pooled browsers never persist changes back to the profile. To clear the profile reference, send profile: { "id": "" }. Clearing the profile also disables refresh_on_profile_update.
Request
- Base URLhttps://api.onkernel.com
- URLhttps://api.onkernel.com/browser_pools/{id_or_name}
- AuthHTTP bearer
Path parameters
Browser pool ID or name
Request body
Example request
{
"expected_network": {
"allowed_hosts": [
"example.com",
"*.example.com"
],
"private_hosts": [
"*.example.ts.net",
"100.64.0.0/10"
]
},
"kiosk_mode": true,
"name": "my-pool",
"network": {
"allowed_hosts": [
"example.com",
"*.example.com"
],
"private_hosts": [
"*.example.ts.net",
"100.64.0.0/10"
]
},
"refresh_on_profile_update": true,
"size": 10,
"start_url": "https://example.com",
"stealth": true,
"viewport": {
"height": 800,
"refresh_rate": 60,
"width": 1280
}
}Response
Browser pool details
Example response
{
"acquired_count": 15,
"available_count": 85,
"browser_pool_config": {
"kiosk_mode": true,
"memory": "8GiB",
"name": "my-pool",
"network": {
"allowed_hosts": [
"example.com",
"*.example.com"
],
"private_hosts": [
"*.example.ts.net",
"100.64.0.0/10"
]
},
"refresh_on_profile_update": true,
"size": 10,
"start_url": "https://example.com",
"stealth": true,
"viewport": {
"height": 800,
"refresh_rate": 60,
"width": 1280
}
},
"id": "iv25ujqf37x3j07dwoffegqr",
"name": "my-pool",
"profile_id": "iv25ujqf37x3j07dwoffegqr"
}Changes
- info
added the optional property
//to the response with the status
- info
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
/// - info
added the new optional request property
// - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the required property
to the response with the status
- info