Skip to main content
DELETE
/
browser_pools
/
{id_or_name}
Delete a browser pool
curl --request DELETE \
  --url https://api.onkernel.com/browser_pools/{id_or_name} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "force": 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

Parameters for deleting a browser pool.

force
boolean
default:false

If true, force delete even if browsers are currently leased. Leased browsers will be terminated.

Response

Browser pool deleted successfully