IEnumberable<string> for ipfs commands

I know you can do things like

ipfs pin ls | ipfs pin rm

but I don’t know if you can do that for http api, to provide a bunch of string instead of one.

for example the http api for removing pin is :

/api/v0/pin/rm?arg=<CID>

But it’s unrealistic to provide many CID at once in the url, and would be better to provide them in the request body and it’s supposed to increase performance because instead of making 1000 requests to the api to remove pin you are making just one.

Is this supported by the api, is there a function that takes a bunch of string instead of one for ipfs commands’ operations in go-ipfs implementation?