]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Update lease4-del.json
authorVicky Risk <vicky@isc.org>
Wed, 10 Oct 2018 14:51:13 +0000 (10:51 -0400)
committerTomek Mrugalski <tomasz@isc.org>
Tue, 29 Oct 2019 17:58:11 +0000 (18:58 +0100)
doc/api/lease4-del.json

index 5c0b16618822682f49d8451d3e3a3a38cd474ff4..37ccc6bb9afdd62bfd501e8325e16b59f457fc13 100644 (file)
@@ -2,7 +2,7 @@
     "name": "lease4-del",
     "brief": "lease4-del can be used to delete a lease from the lease database.",
     "description": "See <xref linkend=\"command-lease4-del\"/>",
-    "support": [ "kea-dhcp4", "kea-dhcp6" ],
+    "support": [ "kea-dhcp4"],
     "avail": "1.3.0",
     "hook": "lease_cmds",
     "cmd-syntax": "{
@@ -11,5 +11,5 @@
         \"ip-address\": \"192.0.2.202\"
     }
 }",
-    "cmd-comment": "leaseX-del returns a result that indicates a outcome of the operation. It has one of the following values: 0 (success), 1 (error) or 3 (empty). The empty result means that a query has been completed properly, but the object (a lease in this case) has not been found."
-}
+    "cmd-comment": "Specify the lease to be deleted either by IP address, or by identifier-type and identifier value. Currently supported identifiers are \"hw-address\" and \"client-id\"."
+}
\ No newline at end of file