From 5a0a775fd7153946563c138ae952db0dd8a8e929 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Wed, 18 Oct 2017 10:29:06 +0200 Subject: [PATCH] API docs: "name" of a zone is read-only --- docs/http-api/endpoint-zones.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/http-api/endpoint-zones.rst b/docs/http-api/endpoint-zones.rst index a0b6b8192..991f8b5d7 100644 --- a/docs/http-api/endpoint-zones.rst +++ b/docs/http-api/endpoint-zones.rst @@ -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. -- 2.40.0