From: Peter van Dijk Date: Tue, 3 Jun 2025 11:41:14 +0000 (+0200) Subject: remove mistaken doc section - you cannot delete views X-Git-Tag: rec-5.3.0-alpha2~42^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cf329fabd977d7a0b2741f56477b6e6518a863d;p=thirdparty%2Fpdns.git remove mistaken doc section - you cannot delete views --- diff --git a/docs/http-api/views.rst b/docs/http-api/views.rst index 267892117f..0a8a12b5da 100644 --- a/docs/http-api/views.rst +++ b/docs/http-api/views.rst @@ -63,17 +63,16 @@ Will yield a response similar to this (several headers omitted): HTTP/1.1 204 No Content -Deleting a view -^^^^^^^^^^^^^^^ +Removing a zone from a view +^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. code-block:: http - DELETE /api/v1/servers/localhost/views/trusted HTTP/1.1 + DELETE /api/v1/servers/localhost/views/trusted/example.com. HTTP/1.1 X-API-Key: secret Will yield a response similar to this (several headers omitted): .. code-block:: http - - HTTP/1.1 204 No Content + HTTP/1.1 204 No Content