summaryrefslogtreecommitdiffstats
path: root/src/share/api/subnet4-del.json
blob: f1583daac522a542207648b8fb98b64bac1cc43d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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"
    ]
}