Policies

Updates a policy with the specified data.

patch/v1/policies/{id}

Request

  • Base URL
    https://api.dnsfilter.com
  • URL
    https://api.dnsfilter.com/v1/policies/{id}
  • Auth
    API key in header Authorization

Path parameters

idinteger required

Policy ID

Request body

include_relationshipsboolean

Include relationships in the response true/false, defaults to true

append_domainsboolean

Option to append allowlist/blocklist domains to the existing ones. Default: false

Response

Updated policy basic information

Changes

    • info

      added the new optional request property /

    • info

      added the optional property /// to the response with the status