]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - docs/http-api/swagger/authoritative-api-swagger.yaml
auth swagger: fix autoprimary format
[thirdparty/pdns.git] / docs / http-api / swagger / authoritative-api-swagger.yaml
index 3761061858fda09af0d6abca802522f7934cf511..bc853526f0feb2262576cdc679de79dc88be001b 100644 (file)
@@ -889,24 +889,12 @@ paths:
       tags:
         - autoprimary
       parameters:
-        - name: ip
-          description: IP address for autoprimary server
+        - name: autoprimary
+          description: autoprimary entry to add
           required: true
           in: body
           schema:
             $ref: '#/definitions/Autoprimary'
-        - name: nameserver
-          description: DNS name for autoprimary server
-          required: true
-          in: body
-          schema:
-            $ref: '#/definitions/Autoprimary'
-        - name: account
-          description: Optional account name
-          required: false
-          in: body
-          schema:
-            $ref: '#/definitions/Autoprimary'
       responses:
         '201':
           description: Created