Index template put versus post

What is the correct Kibana Api command to create an index template ?

Index templates are generally created in Elasticsearch. Have you looked at the documentation around this?