summaryrefslogtreecommitdiffstats
path: root/src/share/api/subnet6-del.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/api/subnet6-del.json')
-rw-r--r--src/share/api/subnet6-del.json33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/share/api/subnet6-del.json b/src/share/api/subnet6-del.json
new file mode 100644
index 0000000..3e355ae
--- /dev/null
+++ b/src/share/api/subnet6-del.json
@@ -0,0 +1,33 @@
+{
+ "access": "write",
+ "avail": "1.3.0",
+ "brief": [
+ "This command removes a subnet from the server's configuration. This command has no effect on other configured subnets, but removing a subnet has certain implications which the server's administrator should be aware of."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"subnet6-del\",",
+ " \"arguments\": {",
+ " \"id\": 234",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"idp72\"/>",
+ "hook": "subnet_cmds",
+ "name": "subnet6-del",
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"IPv6 subnet 2001:db8:1::/64 (id 234) deleted\",",
+ " \"subnets\": [",
+ " {",
+ " \"id\": 234,",
+ " \"subnet\": \"2001:db8:1::/64\"",
+ " }",
+ " ]",
+ "}"
+ ],
+ "support": [
+ "kea-dhcp6"
+ ]
+}