v44

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0156121143.5 KB

Update Chromium enterprise policies and restart

Merge user-provided Chromium enterprise policy overrides into the base policy.json, restart Chromium via supervisord, and wait until the Chromium DevTools "listening" log line is observed before returning success. Certain policies managed by kernel infrastructure (e.g. ExtensionSettings, proxy-related policies, and policies required for CDP/automation) are blocked from override.

patch/chromium/policies

Request body

object required

Chromium enterprise policy overrides. Keys are policy names (e.g. "DefaultCookiesSetting") and values are the policy values. See https://chromeenterprise.google/policies/ for available policies.

Example request

{
  "DefaultCookiesSetting": 1,
  "BasicAuthOverHttpEnabled": true,
  "HttpsUpgradesEnabled": false,
  "MaxConnectionsPerProxy": 32,
  "PopupsAllowedForUrls": [
    "https://example.com"
  ]
}

Response

Policies updated and Chromium restarted successfully