PATCH/browsers/{id_or_name}

Update a browser session.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id_or_name*string

Browser session ID or name

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request body for updating a browser session.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/browsers/htzv5orfit78e1m2biiifpbv" \  -H "Content-Type: application/json" \  -d '{}'
{  "created_at": "2019-08-24T14:15:22Z",  "cdp_ws_url": "string",  "webdriver_ws_url": "string",  "browser_live_view_url": "string",  "base_url": "string",  "headless": true,  "stealth": true,  "gpu": true,  "session_id": "string",  "name": "string",  "timeout_seconds": 0,  "profile": {    "id": "string",    "name": "string",    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z",    "last_used_at": "2019-08-24T14:15:22Z"  },  "proxy_id": "string",  "pool": {    "id": "string",    "name": "string"  },  "viewport": {    "width": 1,    "height": 1,    "refresh_rate": 1  },  "kiosk_mode": true,  "start_url": "string",  "chrome_policy": {},  "tags": {    "property1": "string",    "property2": "string"  },  "deleted_at": "2019-08-24T14:15:22Z",  "usage": {    "uptime_ms": 0  },  "telemetry": {    "browser": {      "console": {        "enabled": true      },      "page": {        "enabled": true      },      "interaction": {        "enabled": true      },      "network": {        "enabled": true      },      "control": {        "enabled": true      },      "connection": {        "enabled": true      },      "system": {        "enabled": true      },      "screenshot": {        "enabled": true      },      "captcha": {        "enabled": true      }    }  }}