]> granicus.if.org Git - pdns/commitdiff
API docs: zone delete returns 204
authorChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Fri, 18 May 2018 08:01:06 +0000 (10:01 +0200)
committerChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Fri, 18 May 2018 08:01:06 +0000 (10:01 +0200)
docs/http-api/swagger/authoritative-api-swagger.yaml

index 8c91d30ef23d53edef51cfe9811a97b493f9c5ff..ec4a0c71305e0a5936d8a2c91d1ef1e4a79bf1e7 100644 (file)
@@ -144,8 +144,8 @@ paths:
           required: true
           description: The id of the zone to retrieve
       responses:
-        '200':
-          description: OK
+        '204':
+          description: 'Returns 204 No Content on success.'
     patch:
       summary: 'Creates/modifies/deletes RRsets present in the payload and their comments. Returns 204 No Content on success.'
       operationId: patchZone