<p dir="auto">Use case - Routing settings are made to not use a machine , but later we need to use that machine.</p>
<p dir="auto">We should be able to delete settings related to routing.</p>
<p dir="auto">If you enable a setting on a index you cannot remove it.</p>
<p dir="auto">For example if you want to disable shard relocation in cluster and enable it for one index you use:</p>
<pre class="notranslate">curl -XPUT http://localhost:9200/articles/_settings -d '{"index.routing.allocation.disable_allocation": false}'
curl -XPUT http://localhost:9200/_cluster/settings -d '{"transient":{"cluster.routing.allocation.disable_allocation": true}}'
</pre>
<p dir="auto">Then if you want to use the cluster setting on the index there is no way to delete the defined value and you need to manually maintain it.</p>
<p dir="auto">A good enhancement will be to have the ability to use:</p>
<pre class="notranslate">curl -XDELETE http://localhost:9200/articles/_settings -d '{"index.routing.allocation.disable_allocation"}'
</pre>
<p dir="auto">or</p>
<pre class="notranslate"> 
curl -XPUT http://localhost:9200/articles/_settings -d '{"index.routing.allocation.disable_allocation":default}'
</pre>