Deleting files
Deleting an object from a Filebase IPFS bucket unpins the underlying CID. The CID may still exist elsewhere on IPFS if other peers have pinned it, but Filebase no longer guarantees its availability.
Console
In the bucket view, select the object and click Delete.
S3 API
aws --endpoint https://s3.filebase.com s3 rm s3://my-ipfs-bucket/photo.jpg
Bulk delete all objects in a bucket:
aws --endpoint https://s3.filebase.com s3 rm --recursive s3://my-ipfs-bucket/
Pinning Service API
curl -X DELETE \
-H "Authorization: Bearer $ACCESS_TOKEN" \
https://api.filebase.io/v1/ipfs/pins/<request-id>
Where <request-id> is the pin record ID returned by GET /v1/ipfs/pins.