Policies

Creates a new policy with the specified data.

post/v1/policies

Request

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

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

Created policy basic information

Changes

    • info

      added the new optional request property /

    • info

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