From 3cf329fabd977d7a0b2741f56477b6e6518a863d Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Tue, 3 Jun 2025 13:41:14 +0200 Subject: [PATCH] remove mistaken doc section - you cannot delete views --- docs/http-api/views.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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 -- 2.47.2