/api/v0/block/rm

Remove IPFS block(s) from the local datastore.

Arguments

  • arg [string]: CIDs of block(s) to remove. Required: yes.

  • force [bool]: Ignore nonexistent blocks. Required: no.

  • quiet [bool]: Write minimal output. Required: no.

Response

On success, the call to this endpoint will return with 200 and the following body:

{
  "Error": "<string>",
  "Hash": "<string>"
}

cURL Example

curl -X POST "http://127.0.0.1:5001/api/v0/block/rm?arg=<cid>&force=<value>&quiet=<value>"


Last updated