Delete Path

The following SDK method can be used to delete all the objects present in the specified path.

Parameters Used

Parameter Name Data Type Definition
path String A mandatory parameter. Will contain the complete path of where the file should be uploaded.
    
copy
try { ZCatalystBucket bucket = stratus.bucket("testing"); var response = await bucket.deletePath("photos"); print("Delete Objects: ${response.statusCode}"); } on ZCatalystException catch (ex) { print(ex.toString()); }

Last Updated 2025-07-02 15:43:56 +0530 +0530