Delete a file
A file from a folder can be deleted by referring its file ID. The component reference or folder reference is used in the below code snippet. A file ID is passed as a parameter to the delete_file() method. The response returns a boolean value ( true or false) based on the status of deletion. The filestore_service reference used below is already defined in the component instance page.
copy#Delete a file folder_service = filestore_service.folder(5249000000016011) folder_service.delete_file(5249000000032063)
Last Updated 2023-12-18 16:20:08 +0530 +0530
Yes
No
Send your feedback to us
Skip
Submit