Delete index policy for every X minutes

What is the Kibana Api command to create a delete index policy for every X minutes to a group of indexes with name starting string indA ?

I am afraid it is not clear to me what you are looking for. It would help if you could provide some more information about your use case and what you are looking to achieve. It is also always good practice to provide information bout which version of the Elastic stack you are using.

I need the command to create ILM automatic delete of a group of indexes every X minutes.
Using version 7.5.

That is a very old version that has been EOL for quite some time. I would recommend that you upgrade to at least 7.17.

ILM policies are created in Elasticsearch. Have you looked at the API for this?

This does not necessarily sound like what ILM was designed for. Could you please elaborate on your indexing and deletion strategy?