Skip to main content
PATCH
Owners and editors can change profile settings. Only the owner can set or clear name.

Path parameter

string
required
ID of a profile you own or can edit.

Request body

Send only the fields you want to change. The example sets settings.logs.enabled and preserves the profile’s log retention and storage location. Supplying a list or recreation time schedule replaces its contents. To add, update, or remove one domain while preserving the other entries, use the Allowlist and Denylist endpoints.
string
A name of 1 to 255 characters, unique among the owner’s profiles. Use null for an unnamed profile.
object
Set linkedIp.ddns to a dynamic DNS hostname. Its first IPv4 address must match the IPv4 address making the request. Use null to clear the hostname. See DNS setup and Linked IP.
object
DNS threat protections, such as googleSafeBrowsing. See Security.
object
Blocklist selections, native tracking protection, and tracker settings. See Privacy and parental controls.
object
Service and category rules, SafeSearch, and the recreation time schedule.
object[]
Domains to block. Each entry takes a domain in id and an optional active flag that defaults to true.
object[]
Domains to allow. Entries have the same fields as the Denylist. See Allowlist and Denylist.
object

Response

Success returns 204 No Content. An editor who includes name, or a viewer who attempts any update, receives 403 with the code insufficientRole. If the owner already has another profile with the requested name, the API returns 200 with {"errors":[{"code":"duplicate"}]}. See Responses and errors.