summaryrefslogtreecommitdiffstats
path: root/src/share/api/lease4-wipe.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/api/lease4-wipe.json')
-rw-r--r--src/share/api/lease4-wipe.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/share/api/lease4-wipe.json b/src/share/api/lease4-wipe.json
new file mode 100644
index 0000000..5ee4fcc
--- /dev/null
+++ b/src/share/api/lease4-wipe.json
@@ -0,0 +1,21 @@
+{
+ "access": "write",
+ "avail": "1.3.0",
+ "brief": [
+ "This command removes all leases associated with a given subnet."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"lease4-wipe\",",
+ " \"arguments\": {",
+ " \"subnet-id\": 44",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"idp63\"/>",
+ "hook": "lease_cmds",
+ "name": "lease4-wipe",
+ "support": [
+ "kea-dhcp4"
+ ]
+}