--- title: "Delete Object" url: https://docs.catalyst.zoho.com/en/sdk/flutter/v2/cloud-scale/stratus/delete-object/ description: "This page lists the Flutter SDK methods to delete an object or 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-object/ - name: "Android SDK" url: /en/sdk/android/v2/cloud-scale/stratus/delete-object/ - name: "REST API" url: /en/api/code-reference/cloud-scale/stratus/delete-objects/#DeleteObject --- # Delete Objects The following SDK method can be used to delete multiple objects from the bucket. **Parameters Used**
Parameter Name Data Type Definition
`objects` **ArrayList<ZCatalystObject>** An array containing the list of objects (and version IDs, if [Versioning](https://docs.catalyst.zoho.com/en/cloud-scale/help/stratus/stratus-config/general-settings/#versioning) is enabled for the bucket) that needs to be deleted.
> **Note:** If the SDK method is used without the `objects` parameter, then all the objects in the bucket will be deleted. ```javascript try { ZCatalystBucket bucket = stratus.bucket("testing"); var (response, objects, _) = await bucket.getObjects(maxKeys: 5, prefix: 'trip'); var response = await bucket.deleteObjects(objects); print("Delete Objects: ${response.statusCode}"); } on ZCatalystException catch (ex) { print(ex.toString()); } ```