How do I delete a single "Types" from Indices?

But I have code like this multiple Types into single Indices. For that I have to change whole code, and this is just an example. I have multiple numbers of Types into Multiple Indices. From that I have to remove or delete particular Types from its matching Indices.