Destructive_requires_name override

I have action.destructive_requires_name: true set in my config to disallow operations on _all and wildcards, but in certain situations I still want to do that (for things like closing all indices before a restore). So I was wondering if there was a way to override that via query params? Or is there another configuration I could use that doesn't necessarily prevent from doing it across the board, but is more fine grained (to disallow _all for "delete" but allows it on "close"). I'm guessing not (so I'll just script my solution by grabbing the index list and then issuing the close on each), but figured I'd ask.

But you can provide multiple indices via host:9200/index1,index2,otherindex/_blah.