How to Disable Cost Based Optimizer via REST API cmd

Hi CB Community,

In CB 7.1.x, the Cost Based Optimizer (CBO) is enabled by default.
The doc shows how to disable this features via GUI and via CBQ, however I was unable to locate an cmd line or REST API method to disable this feature at a CB Server level.

curl -s -u Administrator:password http://<hostname>:8091/settings/querySettings -d 'queryUseCBO=false'

If you never ran UPDATE STATISTICS, CBO is not effective.

Thank you so much for quick response @vsr1