summaryrefslogtreecommitdiffstats
path: root/src/share/api/statistic-remove.json
blob: bece985eb63a758a3c28060f0c971bf81273f08a (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
{
    "access": "write",
    "avail": "1.0.0",
    "brief": [
        "This command deletes a single statistic. It takes a single string parameter called name that specifies the statistic name."
    ],
    "cmd-comment": [
        "If the specific statistic is found and its removal is successful, the server responds with a status of 0, indicating success, and an empty parameters field. If an error is encountered (e.g. the requested statistic was not found), the server returns a status code of 1 (error) and the text field contains the error description."
    ],
    "cmd-syntax": [
        "{",
        "    \"command\": \"statistic-remove\",",
        "    \"arguments\": {",
        "        \"name\": \"pkt4-received\"",
        "    }",
        "}"
    ],
    "description": "See <xref linkend=\"command-statistic-remove\"/>",
    "name": "statistic-remove",
    "support": [
        "kea-dhcp4",
        "kea-dhcp6"
    ]
}