--- title: "Delete Path" url: https://docs.catalyst.zoho.com/en/sdk/flutter/v2/cloud-scale/stratus/delete-path/ description: "This page lists the Flutter SDK methods to delete an entire path along with its objects from the bucket." last_updated: 2026-09-08T11:07:33Z service: Cloud Scale type: general related_links: - name: "Stratus Component Help Documentation" url: /en/cloud-scale/help/stratus/introduction - name: "Delete an Object Help Documentation" url: /en/cloud-scale/help/stratus/objects/manage-object/delete-object/ - name: "Java SDK" url: /en/sdk/java/v1/cloud-scale/stratus/delete-objects/ - name: "JavaScript SDK Documentation" url: /en/sdk/javascript/v1/cloudscale/stratus/delete-object/ - name: "Python SDK" url: /en/sdk/python/v1/cloud-scale/stratus/delete-objects/ - name: "iOS SDK" url: /en/sdk/ios/v2/cloud-scale/stratus/delete-path/ - name: "Android SDK" url: /en/sdk/android/v2/cloud-scale/stratus/delete-path/ - name: "REST API" url: /en/api/code-reference/cloud-scale/stratus/delete-path/#DeletePath --- # Delete Path The following SDK method can be used to delete all the objects present in the specified [path](https://docs.catalyst.zoho.com/en/cloud-scale/help/stratus/objects/introduction/#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.
```javascript try { ZCatalystBucket bucket = stratus.bucket("testing"); var response = await bucket.deletePath("photos"); print("Delete Objects: ${response.statusCode}"); } on ZCatalystException catch (ex) { print(ex.toString()); } ```