[IPFS] Unpin Nid/Cid from IPFS
API Endpoint: https://eo3wcvdjj73vq4x.m.pipedream.net
Cost: 0.01 NUM
Method: POST
Description:
This is a free API to unpin the Nid you provide from the Numbers IPFS gateway.
Authentication:
This API requires a valid token for Authorization. The token should be passed in the headers of the request using the following format: "Authorization: token YOUR_CAPTURE_TOKEN"
Header:
Authorization: token $YOUR_CAPTURE_TOKEN (required)
Content-Type: application/json
Request Body (required):
nid (string): Nid to be unpinned.
Example:
curl -X POST "https://eoomqofcyr7y0fl.m.pipedream.net" \
-H "Content-Type: application/json" \
-H "Authorization: token YOUR_CAPTURE_TOKEN" \
-d '{
"nid": NID_TO_UNPIN
}'
Response:
{
"result": true
}
200: Nid has been successfully unpinned or Nid was not originally pinned.
400: Bad request
401: Unauthorized
403: Forbidden
500: Internal Server Error
Last updated