summaryrefslogtreecommitdiffstats
path: root/src/share/api/lease6-del.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/api/lease6-del.json')
-rw-r--r--src/share/api/lease6-del.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/share/api/lease6-del.json b/src/share/api/lease6-del.json
new file mode 100644
index 0000000..8164aa5
--- /dev/null
+++ b/src/share/api/lease6-del.json
@@ -0,0 +1,24 @@
+{
+ "access": "write",
+ "avail": "1.3.0",
+ "brief": [
+ "This command deletes a lease from the lease database."
+ ],
+ "cmd-comment": [
+ "lease6-del returns a result that indicates the outcome of the operation. It has one of the following values: 0 (success), 1 (error), or 3 (empty)."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"lease6-del\",",
+ " \"arguments\": {",
+ " \"ip-address\": \"2001:db8::3\"",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"lease6-del\"/>",
+ "hook": "lease_cmds",
+ "name": "lease6-del",
+ "support": [
+ "kea-dhcp6"
+ ]
+}