diff options
Diffstat (limited to 'src/share/api/statistic-remove.json')
-rw-r--r-- | src/share/api/statistic-remove.json | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/share/api/statistic-remove.json b/src/share/api/statistic-remove.json new file mode 100644 index 0000000..bece985 --- /dev/null +++ b/src/share/api/statistic-remove.json @@ -0,0 +1,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" + ] +} |