The coup members execute the constitional military idioligy/law of the Turkish military, that is to prevent both ousider and insider enemies. Here insiders are islamic nuts. Take control, establish Ataturk's 6 (iirc) main points; united republic, secularism, Turkish state, etc. Then they leave. Thece principle are almost same as modern western priciples in ethnic countries like Spain or France, but not like Switzerland or UK.
Sadly Turkey is not only geographically between Europe and Middle East but also idiologically. Ataturk was from Europe. AKP supporters are from eastern parts of the country.
http://theataturksocietyofcanada.ca/mka/revolutions/ataturks...
Related: These tweets by Turkish journalist https://twitter.com/ikoker/status/755104366235901952
https://pulsemedia.org/2009/02/02/aldous-huxley-the-ultimate...
edit:
>Perhaps next time they should consider assassination
Perhaps you should consider the possibility that this coup was staged by Erdogan himself in order to purge all critically thinking people in prominent positions.
Look at Syria. The civil war is still on-going. This is not Thailand. There is no King / Emperor to bless.