API for configuring Fleet Server settings?

Is there a programmatic way to set the values for Fleet Server as shown in this image here?

I'm ok with command line tools, restful api, or some other automated service. There's a lot of elastic documentation, but I wasn't sure which is most relevant to my situation. Can someone point me in the right direction?