I try to delete all templates in my local instance .but it fail and I got this message .How do I delete all templates ? I don't understand this error.
My query :
DELETE /_template
error :
{
"error": "Incorrect HTTP method for uri [/_template] and method [DELETE], allowed: [GET]",
"status": 405}