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