diff options
Diffstat (limited to 'src/share/api/subnet4-del.json')
-rw-r--r-- | src/share/api/subnet4-del.json | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/share/api/subnet4-del.json b/src/share/api/subnet4-del.json new file mode 100644 index 0000000..f1583da --- /dev/null +++ b/src/share/api/subnet4-del.json @@ -0,0 +1,35 @@ +{ + "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\": \"subnet4-del\",", + " \"arguments\": {", + " \"id\": 123", + " }", + "}" + ], + "description": "See <xref linkend=\"idp71\"/>", + "hook": "subnet_cmds", + "name": "subnet4-del", + "resp-syntax": [ + "{", + " \"result\": 0,", + " \"text\": \"IPv4 subnet 192.0.2.0/24 (id 123) deleted\",", + " \"arguments\": {", + " \"subnets\": [", + " {", + " \"id\": 123,", + " \"subnet\": \"192.0.2.0/24\"", + " }", + " ]", + " }", + "}" + ], + "support": [ + "kea-dhcp4" + ] +} |