# IEnumberable\<string\> for ipfs commands

**URL:** <https://discuss.ipfs.tech/t/ienumberable-string-for-ipfs-commands/12892>\
**Category:** Help\
**Tags:** go-ipfs\
**Created:** [December 9, 2021, 3:02am UTC](https://discuss.ipfs.tech/t/ienumberable-string-for-ipfs-commands/12892 "2021-12-09T03:02:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xyncgas](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/xyncgas/32/5732_2.png) [@Xyncgas](https://discuss.ipfs.tech/u/Xyncgas)\
**Post date:** [December 9, 2021, 3:02am UTC](https://discuss.ipfs.tech/t/ienumberable-string-for-ipfs-commands/12892/1 "2021-12-09T03:02:58Z")

</div>

I know you can do things like

```auto
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 :

```auto
/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?
