/api/v1/config/filter_engines/dns_filter/{dns_filter_id}:
  delete:
    description: Delete an item.
    operationId: api.v1.Config.FilterEngines.DNS.resource.remove
    parameters:
    - description: '`PRIMARY KEY`'
      in: path
      name: dns_filter_id
      required: true
      schema:
        enum:
        - pfdns
        type: string
    responses:
      '200':
        $ref: '#/components/responses/Deleted'
      '401':
        $ref: '#/components/responses/Forbidden'
      '404':
        $ref: '#/components/responses/NotFound'
    tags:
    - Config/FilterEngines/DNSFilters
  description: Configure dns filters
  get:
    description: Get an item.
    operationId: api.v1.Config.FilterEngines.DNS.resource.get
    parameters:
    - description: '`PRIMARY KEY`'
      in: path
      name: dns_filter_id
      required: true
      schema:
        enum:
        - pfdns
        type: string
    responses:
      '200':
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfigFilterEnginesDNSFilterWrapped'
        description: Request successful. Response contains a specific resource.
      '401':
        $ref: '#/components/responses/Forbidden'
      '404':
        $ref: '#/components/responses/NotFound'
    tags:
    - Config/FilterEngines/DNSFilters
  options:
    description: Get meta for an item.
    operationId: api.v1.Config.FilterEngines.DNS.resource.resource_options
    parameters:
    - description: '`PRIMARY KEY`'
      in: path
      name: dns_filter_id
      required: true
      schema:
        enum:
        - pfdns
        type: string
    responses:
      '200':
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfigFilterEnginesDNSFiltersMeta'
        description: Request successful. Response contains meta for a resource.
      '401':
        $ref: '#/components/responses/Forbidden'
      '404':
        $ref: '#/components/responses/NotFound'
    tags:
    - Config/FilterEngines/DNSFilters
  patch:
    description: Update an item.
    operationId: api.v1.Config.FilterEngines.DNS.resource.update
    parameters:
    - description: '`PRIMARY KEY`'
      in: path
      name: dns_filter_id
      required: true
      schema:
        enum:
        - pfdns
        type: string
    requestBody:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ConfigFilterEnginesDNSFilter'
    responses:
      '201':
        $ref: '#/components/responses/Updated'
      '400':
        $ref: '#/components/responses/BadRequest'
      '401':
        $ref: '#/components/responses/Forbidden'
      '404':
        $ref: '#/components/responses/NotFound'
      '422':
        $ref: '#/components/responses/UnprocessableEntity'
    tags:
    - Config/FilterEngines/DNSFilters
  put:
    description: Replace an item.
    operationId: api.v1.Config.FilterEngines.DNS.resource.replace
    parameters:
    - description: '`PRIMARY KEY`'
      in: path
      name: dns_filter_id
      required: true
      schema:
        enum:
        - pfdns
        type: string
    requestBody:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ConfigFilterEnginesDNSFilter'
    responses:
      '201':
        $ref: '#/components/responses/Created'
      '400':
        $ref: '#/components/responses/BadRequest'
      '401':
        $ref: '#/components/responses/Forbidden'
      '404':
        $ref: '#/components/responses/NotFound'
      '422':
        $ref: '#/components/responses/UnprocessableEntity'
    tags:
    - Config/FilterEngines/DNSFilters
