Android Question delete pf file (parse library)

hookshy

Well-Known Member
Licensed User
Longtime User
Is possible to delete parse file with parse library ? or I must use http utils and make a request ...on some documentation they say you can use REST API but I have no experience using their http requestes !
I any member had done it I will appreciate.
curl -X DELETE \
-H "X-Parse-Application-Id: <YOUR_APPLICATION_ID>" \
-H "X-Parse-Master-Key: <YOUR_MASTER_KEY>" \
https://api.parse.com/1/files/<FILE_NAME>

I thought the easy way to do it is to use parse file url and from time to time to clean files using theirs dashboard option , this method will eventually get to fill the 1Gb space if you forget to clean up.

On the other hand associating parse object with all files uploaded and deleting them based on time expire method will consume a lot of api requests which Parse is not so generous about it on basic plan.
Had anyone met the problem of managing parse files ? What was your option ?

Thank you
 
Top