commit 7354039a54210598970aa214ff08a29b7d4bc35e
parent 6fbfb504d8a6bd3d2b5841521f8ffbdbef58499b
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Wed, 19 Oct 2022 16:06:39 +0900
update API to reflect what is actually implemented
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/developers/rest/namestore.rst b/developers/rest/namestore.rst
@@ -137,7 +137,7 @@ Requests
-.. http:delete:: /namestore/$ZNAME?record_name=$LABEL
+.. http:delete:: /namestore/$ZNAME/$LABEL
Delete all records under name ``$LABEL`` in the zone identified by ``$ZNAME``.
@@ -146,7 +146,7 @@ Requests
:http:statuscode:`204 No Content`:
The records were successfully deleted.
:http:statuscode:`404 Not found`:
- The zone was not found.
+ The zone or label was not found.
.. http:post:: /namestore/import/$ZNAME