pin_update

Update a recursive pin.

/api/v0/pin/update

Update a recursive pin.

REQUEST

curl "https://mainnet-rpc.wetez.io/ipfs/$AdminKey/api/v0/pin/update?arg=<from-path>&arg=<to-path>&unpin=true" \
    -X POST

REQUEST PARAMS

  • arg [Required] - Path to the old object.

  • arg [Required] - Path to a new object to be pinned.

  • unpin [Optional] - Remove the old pin. The default is true.

RESPONSE

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

BODY

{
  "Pins": [
    "string"
  ]
}

Last updated