# Modify Deployment Endpoint Setting using API

**URL:** https://discuss.elastic.co/t/modify-deployment-endpoint-setting-using-api/186335
**Category:** Elastic Cloud Enterprise (ECE)
**Created:** [June 18, 2019, 6:23pm UTC](https://discuss.elastic.co/t/modify-deployment-endpoint-setting-using-api/186335 "2019-06-18T18:23:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![seizste](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@seizste](https://discuss.elastic.co/u/seizste)
#### Post date: [June 18, 2019, 6:23pm UTC](https://discuss.elastic.co/t/modify-deployment-endpoint-setting-using-api/186335/1 "2019-06-18T18:23:33Z")

</div>

Hello Everyone,

is there a way to modify or set the Deployment Endpoint Setting using the API ? The setting is found in the Cloud UI below Platform \> Settings \> Deployment Endpoint as described here ...

[https://www.elastic.co/guide/en/cloud-enterprise/2.2/ece-administering-endpoints.html](https://www.elastic.co/guide/en/cloud-enterprise/2.2/ece-administering-endpoints.html)

We're automating our ECE install using Ansible and this would be one of the last puzzle pieces to finish the initial config after installation of the different roles.

Looking forward,  
Stefan

---

<div class="post-metadata">

### Author: ![Alex\_Piggott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_piggott/32/11053_2.png) [@Alex\_Piggott](https://discuss.elastic.co/u/Alex_Piggott)
#### Post date: [June 18, 2019, 7:55pm UTC](https://discuss.elastic.co/t/modify-deployment-endpoint-setting-using-api/186335/2 "2019-06-18T19:55:26Z")

</div>

Hi @seizste

There is an [API for managing the config store](https://www.elastic.co/guide/en/cloud-enterprise/current/Platform_-_configuration_-_Store.html), which is where the `cname` lives:

So you can list the config store options to get the different (pretty self-explanatory) fields and then in your Ansible script use the "update config store" option

Alex

---

<div class="post-metadata">

### Author: ![seizste](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@seizste](https://discuss.elastic.co/u/seizste)
#### Post date: [June 19, 2019, 10:24am UTC](https://discuss.elastic.co/t/modify-deployment-endpoint-setting-using-api/186335/3 "2019-06-19T10:24:55Z")

</div>

Thank a lot for pointing me to the config store, that's what i searched for.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 3, 2019, 10:25am UTC](https://discuss.elastic.co/t/modify-deployment-endpoint-setting-using-api/186335/4 "2019-07-03T10:25:12Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
