@vtalanki I know this is a bit older but for you or anyone that is coming from Google search, the decommission API endpoint actually enacts the same as a splunk offline command. This means that it will take the indexer down temporarily and then later decommission the indexer should it not come back up in the allowed restart time. The same as what's found in the documentation: Take a peer offline - Splunk Documentation If you want to take down host permanently, you need to add a -d enforce_counts=true parameter to your curl command. This does the same as a splunk offline --enforce-counts command.
... View more