Update a DNS Policy
Updates the properties of an existing DNS policy. You can change its name, application blocks, safe search settings, and site attachments.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique identifier of the DNS policy to update.
Body
A human-readable name for the policy.
"Guest Wi-Fi Policy"
If true, automatically blocks all applications categorized as adult content.
true
A list of application IDs to be blocked by this policy.
["9a9b3e6a-5c3a-4f1e-9a0a-2b2a1e1d8e8b"]A list of Safe Search enforcement rules.
A list of FQDNs to always allow.
["partner-portal.com"]A list of FQDNs to always block.
A list of site IDs to which this policy should be attached. Any sites not in this list will be detached.
[
"9a9d3e6a-5c3a-4f1e-9a0a-2b2a1e1d8e8d",
"9a9e3e6a-5c3a-4f1e-9a0a-2b2a1e1d8e8e"
]Response
The DNS policy was updated successfully.
The unique identifier for the DNS policy.
"9a9a3e6a-5c3a-4f1e-9a0a-2b2a1e1d8e8a"
A human-readable name for the policy.
"Standard Employee Policy"
A list of application IDs to be blocked by this policy.
[
"9a9b3e6a-5c3a-4f1e-9a0a-2b2a1e1d8e8b",
"9a9c3e6a-5c3a-4f1e-9a0a-2b2a1e1d8e8c"
]A list of Safe Search enforcement rules.
A list of fully qualified domain names (FQDNs) to always allow, overriding any blocking rules.
["internal.corp.com", "status.altostrat.io"]A list of fully qualified domain names (FQDNs) to always block.
["malicious-site.net"]If true, automatically blocks all applications categorized as adult content.
true
The number of sites currently using this policy.
5
The timestamp when the policy was created.
"2025-10-29T13:04:44Z"