Currently, We login to kibana and edit the config under readonlyREST tab. This configuration will be automatically updated in whole cluster.
Can the same feature be performed by command line. Like, place the readonlyREST.yml in any node of the cluster and run a command and the config should be updated in whole cluster.