]> granicus.if.org Git - pdns/commitdiff
API docs: "name" of a zone is read-only
authorPieter Lexis <pieter.lexis@powerdns.com>
Wed, 18 Oct 2017 08:29:06 +0000 (10:29 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Wed, 18 Oct 2017 08:33:31 +0000 (10:33 +0200)
docs/http-api/endpoint-zones.rst

index a0b6b819296fc40e6a429d50c26e9985bfae3868..991f8b5d7a3b2b77af0a9a7ffbd0e31b319d818b 100644 (file)
@@ -77,11 +77,9 @@ Zones endpoint
   :param server_id: The name of the server
   :param zone_id: The id number of the :json:object:`Zone`
 
-  Allowed fields in client body: all except ``id`` and ``url``.
+  Allowed fields in client body: all except ``id``, ``url`` and ``name``.
   Returns ``204 No Content`` on success.
 
-  Changing ``name`` renames the zone, as expected.
-
 .. http:put:: /api/v1/servers/:server_id/zones/:zone_id/notify
 
   Send a DNS NOTIFY to all slaves.