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 POSTcurl "https://mainnet-rpc.wetez.io/ipfs/$AdminKey/api/v0/pin/update?arg=QmbLfeStdYuXk6AebVuADBTZ1fT77XtPspChaNi7NiQB4u&arg=QmbTMDxR4agFCsffLBTJsdjhqCk72NEWxR4bBtKrd55oEw" \
-X POSTREQUEST 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 istrue.
RESPONSE
On success, the call to this endpoint returns with 200 and the following body:
BODY
{
"Pins": [
"string"
]
}Last updated