API to Configure Elasticsearch 7.5

I have the needed xpack configs that go in elasticsearch.yml to get LDAP to work with Elasticsearch now I need the API to automate building it but I can't find it anywhere. I tried adding the configs to elasticsearch.yml followed by restarting the cluster in a 1 node cluster, and it tanked the deployment.

ECE 2.4.3
Elasticsearch/Kibana 7.5.0

I figured this out. The LDAP configs go in for this key user_settings_yaml in the JSON for the data nodes in the API that builds the cluster. I had to do a display of the cluster using the API to get the syntax after putting the LDAP configs in the UI.