In some situations, you need to upload files at your Dashboard to an object created in the class. You may need to delete them because you're no longer using that object. If you follow this guide, you can update the user, but the file will continue to count space in File Storage, which may incur an additional cost.
Is it possible to delete the file directly using the REST API or Parse SDK?
For security reasons, this functionality has not been implemented, possibly because it provides no security to the Parse Files endpoint. So, it is technically not posible to perform this action. Although some funcionality missing, you can still delete files by following the steps mentioned below:
1. First of all, you'll need to check what is the class and object that you require to delete the file.
2. You'll need to add a query to update the field from the image with a 'null' at column space.
By following the Step 2, you delete the reference to the object and file!
3. Now, use the button 'Clean Up Files' at Dashboard > App Settings > Clean Up Files, to delete files that are not referenced to any objects.
With the steps above, you have verified how it is possible to delete these files that have no relation :)
If you need any other help, feel free to contact us via Chat!
Comments
0 comments
Please sign in to leave a comment.