how delete download and upload of session clients?

Hi, i have the next code in PHP:

API = new routeros_api();
$API->debug = false;
if ($API->connect($ipRouteros , $Username , $Pass, $api_puerto)) {
$API->write('/tool/user-manager/user/print');
   $READ = $API->read(false);
   $ARRAY = $API->parse_response($READ);
   print_r($ARRAY);
}

where I returns an array of customer data, I want to clear both downloads and uploads these customers every month. as I delete these sessions or delete only downloads and uploads? either by terminal or API PHP.


my goal is to get monthly downloads and uploads of users.


Thanks!