# Manage Objects and Folders

## Search objects

Using the DCD, you can search for objects in buckets if the prefix or full name is known. For technical reasons, searching for objects across buckets or folders is not supported.

To search for an object, follow these steps:

1\. In the **DCD**, go to **Menu** > **Storage & Backup** > **IONOS Object Storage**.

2\. From the drop-down list in the **Buckets** tab, choose either **Show user-owned buckets** or **Show contract-owned buckets** depending on the bucket type you want to view.

3\. From the **Buckets** list, choose the bucket in which you want to search for objects.

4\. In the **Search by Prefix** field, enter the prefix or file name to search for.

![Search by Prefix search box](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-66cfcffe4731a959da91c82fec1953a227f6a44f%2Fs3-search-by-prefix.png?alt=media)

![Search by Prefix search results](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-366e6ca5466d6277596618632f2799a9ca316057%2Fs3-search-by-prefix-result.png?alt=media)

{% hint style="success" %}
**Result:** The objects matching your search criteria are displayed.
{% endhint %}

## Version objects

If you have enabled versioning for your Object Storage bucket, you have the flexibility to download non-current versions of objects. Toggle the **Show versions** option to view objects that are versioned. Objects that were already uploaded to the object storage before versioning was activated are identified by ID `null`. If versioning is deactivated, existing object versions are retained.

Versioning is not enabled by default. For more information, see [<mark style="color:blue;">Versioning</mark>](https://docs.ionos.com/sections-test/guides/storage-and-backup/ionos-object-storage/settings/versioning).

## Download objects

1\. In the **DCD**, go to **Menu** > **Storage & Backup** > **IONOS Object Storage**.

2\. From the drop-down list in the **Buckets** tab, choose either **Show user-owned buckets** or **Show contract-owned buckets** depending on the bucket type you want to view.

3\. From the **Buckets** list, choose the bucket or folder from which you want to download an object.

4\. *(Optional)* To view the object's versions, toggle on **Show versions**. This option is available only if Versioning is enabled for the bucket.

{% hint style="info" %}
**Info:** You may toggle off **Show versions** to view only the newest version of the objects.
{% endhint %}

5\. Choose the object or object's version to download and click on the respective object's action menu (three dots).

6\. Click **Download**.

7\. *(Optional)* Use the **Copy URL** option to copy the object's URL to the clipboard.

![Download objects](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-fd64bbc24b92d955ebb49e1dbd74ac973684a7fc%2Fs3-download-copy-objects.png?alt=media)

{% hint style="success" %}
**Result:** The object is successfully downloaded.
{% endhint %}

## Delete objects

If you no longer want to keep the objects in the <code class="expression">space.vars.ionos\_cloud\_object\_storage</code>, these objects can be deleted. Deleted objects are not physically removed from the Object Storage, but receive a 'delete marker' and then have a size of 0 KB. These markers are deleted at an interval specified by the user or by the system.

There are two ways to delete objects from the <code class="expression">space.vars.ionos\_cloud\_object\_storage</code> using the DCD - manually and automatically.

### Delete an object manually

1\. In the **DCD**, go to **Menu** > **Storage & Backup** > **IONOS Object Storage**.

2\. From the drop-down list in the **Buckets** tab, choose either **Show user-owned buckets** or **Show contract-owned buckets** depending on the bucket type you want to view.

3\. From the **Buckets** list, choose the bucket from which you want to delete an object.

4\. Choose the object to delete and click on the respective object's action menu (three dots). Alternatively, you can also select the object to delete and click **Delete selected objects**.

6\. Click **Delete**.

![Delete an object manually](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-aff57b09bcfbeb01b0cdd04362e5737fde02c4ec%2Fs3-delete-object.png?alt=media)

6\. Confirm the deletion of the object by choosing **Delete**.

{% hint style="success" %}
**Result:** The object is successfully deleted from the bucket.
{% endhint %}

You can also automate the deletion of objects using [<mark style="color:blue;">Lifecycle</mark>](https://docs.ionos.com/sections-test/guides/storage-and-backup/ionos-object-storage/settings/lifecycle).

## Delete a folder

1\. In the **DCD**, go to **Menu** > **Storage & Backup** > **IONOS Object Storage**.

2\. From the drop-down list in the **Buckets** tab, choose either **Show user-owned buckets** or **Show contract-owned buckets** depending on the bucket type you want to view.

3\. From the **Buckets** list, choose the bucket from which you want to delete a folder.

4\. Choose the folder to delete and click on the respective folder's action menu (three dots). Alternatively, you can also select the folder to delete and click **Delete selected objects**.

5\. Click **Delete**.

![Delete a folder manually](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-e6c0960b6a9ef9ecdf13aa89497b6e8d6d83a3e3%2Fs3-delete-folder.png?alt=media)

6\. Confirm the deletion of the folder by choosing **Delete**. If the folder contains objects, you see an option to **Empty and delete** which deletes all the objects within the folder and then deletes the folder.

{% hint style="success" %}
**Result:** The folder is successfully deleted from the bucket.
{% endhint %}

## Delete multiple objects and folders

You can delete multiple objects and folders in a bucket at a time by following these steps:

1\. In the **DCD**, go to **Menu** > **Storage & Backup** > **IONOS Object Storage**.

2\. From the drop-down list in the **Buckets** tab, choose either **Show user-owned buckets** or **Show contract-owned buckets** depending on the bucket type you want to view.

3\. From the **Buckets** list, choose the bucket from which you want to delete objects and folders.

4\. Select the checkboxes next to the names of the objects and folders to be deleted.

5\. *(Optional)* To delete all objects and folders, select the checkbox next to the names of the objects and folders.

6\. Click **Delete selected objects**.

![Delete selected objects and folders](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-d331964b8422c094d4c98184d2b6beaff0cefd90%2Fs3-delete-selected-objects-folders.png?alt=media)

7\. Confirm the deletion of selected objects and folders by choosing **Delete**. If the folder contains objects, you see an option to **Empty and delete** which deletes all the objects within the folder and then deletes the folder.

{% hint style="success" %}
**Result:** The objects and folders selected for deletion are successfully deleted from the bucket.
{% endhint %}
