--- title: "Delete an Object From a Bucket" url: https://docs.catalyst.zoho.com/en/cloud-scale/help/stratus/objects/manage-object/delete-object/ description: "Stratus is a robust cloud storage solution powered by Catalyst. You can store data of any format type in the form of buckets and objects." last_updated: 2026-09-08T11:07:33Z service: Cloud Scale type: general related_links: - name: "Create a Bucket" url: /en/cloud-scale/help/stratus/buckets/create-bucket/ - name: "Upload an Object" url: /en/cloud-scale/help/stratus/objects/upload-object/ - name: "Object Caching" url: /en/cloud-scale/help/stratus/stratus-config/general-settings/#caching - name: "Object Versioning" url: /en/cloud-scale/help/stratus/stratus-config/general-settings/#versioning - name: "Java SDK" url: /en/sdk/java/v1/cloud-scale/stratus/delete-objects/ - name: "JavaScript SDK" 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: "Flutter SDK" url: /en/sdk/flutter/v2/cloud-scale/stratus/delete-object/ - name: "REST API" url: /en/api/code-reference/cloud-scale/stratus/delete-objects/#DeleteObject --- # Delete an Object From a Bucket To delete an object from the bucket: **Using the Console** 1. Select the required object. ![catalyst_stratus_object_options](https://catalyst-docs-development.zohostratus.in/images/help/stratus/catalyst_stratus_object_options.webp) 2. Click **Delete**. ![catalyst_stratus_delete_op_hilit](https://catalyst-docs-development.zohostratus.in/images/help/stratus/catalyst_stratus_delete_op_hilit.webp) 3. Click **Delete** in the prompt as well. ![catalyst_stratus_del_object_confirm_del](https://catalyst-docs-development.zohostratus.in/images/help/stratus/catalyst_stratus_del_object_confirm_del.webp) The delete action will be scheduled, and it will take a short while before the operation is rendered in the console. Delete operations can be performed on multiple objects and on multiple paths in the same manner. You can also use the **Delete** button present in the object details view to delete the object. ![catalyst_stratus_delete_ins_op_confirm](https://catalyst-docs-development.zohostratus.in/images/help/stratus/catalyst_stratus_delete_ins_op_confirm.webp) **Using Catalyst SDK** **Server SDKs** **Java SDK** > **Note:** Visit this [help document](https://docs.catalyst.zoho.com/en/sdk/java/v1/cloud-scale/stratus/delete-objects/) for more information on this SDK method. **Ensure the following packages are imported:** ```java import org.json.simple.JSONObject; ``` ```java int ttl = 200; JSONObject deleteRes = bucket.deleteObject("objectName", "versionId", ttl); System.out.println(deleteRes); ``` **Node.js SDK** > **Note:** Visit this [help document](https://docs.catalyst.zoho.com/en/sdk/nodejs/v2/cloud-scale/stratus/delete-objects/) for more information on this SDK method. ```javascript const res = await bucket.deleteObject("objectName"); console.log(res); ``` **Python SDK** > **Note:** Visit this [help document](https://docs.catalyst.zoho.com/en/sdk/python/v1/cloud-scale/stratus/delete-objects/) for more information on this SDK method. ```python delete_res = bucket.delete_object('object_name') print(delete_res) ``` **Client & Mobile SDKs** **Web SDK** > **Note:** Visit this [help document](https://docs.catalyst.zoho.com/en/sdk/web/v4/cloud-scale/stratus/delete-object/) for more information on this SDK method. ```javascript // Delete an object const deleteObject = await bucket.deleteObject("objectName"); ``` **iOS SDK** > **Note:** Visit this [help document](https://docs.catalyst.zoho.com/en/sdk/ios/v2/cloud-scale/stratus/delete-object/) for more information on this SDK method. ```bash objectInstance.delete() { error in if let error = error { print("Error : \\( error )") return } print("Deleted Successfully") } ``` **Android SDK** > **Note:** Visit this [help document](https://docs.catalyst.zoho.com/en/sdk/android/v2/cloud-scale/stratus/delete-object/) for more information on this SDK method. ```bash bucketInstance.getObject("SunSet.jpeg", "2823000000044005", //Replace this with your Object Name and Object ID { object -> object.delete( { println("Object Deletion Success.") }, { println("Failed to delete the object. $it") } ) ``` **Flutter SDK** > **Note:** Visit this [help document](https://docs.catalyst.zoho.com/en/sdk/flutter/v2/cloud-scale/stratus/delete-object/) for more information on this SDK method. ```bash 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()); } ``` > **Note:** When you perform a delete operation on an object, and if it is the **only object** present in the particular path, then the **entire path will be deleted**. An empty path cannot exist in a bucket.