Files
Deleting Files
Deleting files from Pinata is simple and easy!
Deleting Programatically
The SDK has a very simple delete method that will allow you to delete an array of files by id
. Alternatively you can delete a single file with the API.
Deleting All Files
If you find yourself in a position where you need to delete most or all of your files you can use the Auto Paginate feature on the SDK to fetch all the IDs of your files and delete them in a few lines of code!
Deleting by Web App
If you are trying to delete files you can do so by clicking on the “more” button and selecting “Delete”
Additionally, with our Bulk File Actions tool, you can select and manage multiple files at once - up to 100!