Introduction
You may want to display inode usage statistics in the cPanel user interface and would like to enable the setting using our API calls.
The API itself needed is documented at: Update Tweak Settings option
Procedure
The following API call will toggle “Display File Usage information in the cPanel stats bar (inode count)” on and off.
This turns it on:
whmapi1 set_tweaksetting key=file\_usage value=1
and this turns it off:
whmapi1 set_tweaksetting key=file\_usage value=0