Update DNS firewall enforcement and/or mode on a service profile
Patches the enforce and/or mode properties of the DNS firewall rule set attached to a service profile.
Both fields are optional; at least one must be present. A field left out of the request is not changed.
When enforce is true, the attached DNS firewall profiles are enforced for devices using this service profile.
When enforce is false, the DNS firewall profiles remain attached but enforcement is disabled.
mode sets the default behavior for names not matched by any rule: allowlist denies them, blocklist allows them.
This endpoint does not modify the DNS firewall profile text.
The “no assigned profile” and “custom DNS resolver assigned” checks run whenever this request explicitly sets enforce to true, regardless of whether enforcement was already on. A mode-only patch, or a patch that sets enforce to false, skips them.
Authentication
An auth_token should be provided to authenticate a session.
To obtain an auth_token, see the /api/v1/authenticate POST request.