IPFS remove file/object

I am trying to remove a file/object from a server running jsipfs. I have looked at the .jsipfs/blocks directory but sharding is applied to the files that is being added. How can I remove a specific hash locally using jsipfs?

Unpin it and run the garbage collector.

Is there unpinning and garbage collector on js-ipfs? I know there is in go-ipfs.

I am very interested in this feature, any updates?

Hi there!

The pinning API is WIP on js-ipfs. You can track progress here: https://github.com/ipfs/js-ipfs/pull/107