Turkey on Friday filed a second extradition request with Greece for eight soldiers who allegedly took part in a coup attempt last year, state-run Anadolu news agency reported a day after the Greek Supreme Court denied a previous demand for their handover.

Meanwhile, Turkish Foreign Minister Mevlut Cavusoglu cautioned he would move to cancel a bilateral readmission agreement between Turkey and Greece on irregular migration, according to state broadcaster TRT.

That agreement, allowing migrants in Greece who are not granted asylum to be returned to Turkey, came into focus last year during talks between Ankara and Brussels on stemming migration flows from Turkish soil to the European Union.

"We can't look positively on a country that backs terrorists, putschists and traitors. Greece should know that," said Cavusoglu, according to TRT, adding that Turkey would take the "necessary steps," including on the readmission agreement.

The Greek judges accepted the views of the public prosecutor that the men could face an unfair trial or even torture if they were sent back to Turkey.

An Istanbul court quickly approved an arrest order issued by a prosecutor for the soldiers, shortly after the court in Greece made its decision.

The two majors, four captains and two sergeants escaped from Turkey by helicopter in July during an attempted coup. They applied for asylum once they reached Greece.

Turkey blames the coup attempt on Fethullah Gulen, a US-based Turkish preacher, and his followers. Gulen denies he orchestrated the failed putsch.

The Anadolu report on the new extradition request did not indicate that grounds for it.