- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 600
Closed
Labels
type:docsOnly change in the docs or READMEOnly change in the docs or README
Description
The Parse.File.destroy() method in the JS SDK requires the use of masterKey according to documentation, to destroy a file. See JS SDK guide.
Setting masterKey: false or not setting it at all has no effect and deleting the file succeeds. You can only delete files server side.
I think we need to either change the docs or the code, they are currently inconsistent.
If we change the code we can add more options like sessionToken in the future.
Metadata
Metadata
Assignees
Labels
type:docsOnly change in the docs or READMEOnly change in the docs or README