Kibana 7.5: server.defaultRoute parameter

Yep, these advanced settings are stored as a Saved Object of type config. So you can update them using the Saved Object APIs.