Reset file storage node statistics
Reset a specific set of statistics on a cluster node. Not all the statistics that can be retrieved can be reset, but a selection of them can be.
HTTP request syntax (URI)
DELETE <base_URI>/v8/storage/statistics/{id}/{statsType}
Parameters
Name | Type | Required | Values | Description |
id | URI_PARAM | Y | string/number | Node object ID or storage node ID. If the statsType parameter is "Virus", then the id parameter is used to specify a virtual server ID and not the node ID |
statsType | URI_PARAM | Y | string | Type of statistics data to reset. Possible values are:
|
Return codes
Code | Data | Description |
204 | No Data | The specified statistics have been successfully reset. |
400 | Error Message | Missing or invalid request contents. |
403 | Error Message | Operation forbidden by access level. |
500 | Error message | Error associated with the storage system. |
Any HTTP status code other than 204 indicates that the API did not complete successfully.
Request example: Resetting CIFS stats
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.57.75:8444/v8/storage/statistics/1/cifs -X DELETE
Response example
HTTP/1.1 204 No Content