---
title: "exo storage delete"
description: "Delete objects"
url: https://community.exoscale.com/reference/cli/exo/storage/delete/
section: reference
last_updated: 2026-10-14
---
> For AI agents: the documentation index is at https://community.exoscale.com/llms.txt. Every page is available as markdown at `<page URL>index.md` or with `Accept: text/markdown`.

# exo storage delete

### Description

This command deletes objects stored in a bucket.

If you want to target objects under a "directory" prefix, suffix the path
argument with "/":

    exo storage delete sos://my-bucket/
    exo storage delete -r sos://my-bucket/some-directory/


```
exo storage delete sos://BUCKET/[OBJECT|PREFIX/] [flags]
```

### Options

| Option | Description |
| --------- | ------------ |
| `--force, -f` | attempt to perform the operation without prompting for confirmation |
| `--help, -h` | help for delete |
| `--recursive, -r` | delete objects recursively |
| `--verbose, -v` | output deleted objects |


### Options inherited from parent commands

| Option | Description |
| --------- | ------------ |
| `--config, -C` | Specify an alternate config file [env EXOSCALE_CONFIG] |
| `--output-format, -O` | Output format (table\|json\|text), see &#34;exo output --help&#34; for more information |
| `--output-template` | Template to use if output format is &#34;text&#34; |
| `--quiet, -Q` | Quiet mode (disable non-essential command output) |
| `--timeout` | Per-zone timeout for list operations; -1s disables timeout [env EXOSCALE_TIMEOUT] |
| `--use-account, -A` | Account to use in config file [env EXOSCALE_ACCOUNT] |


### Related Commands

* [storage](https://community.exoscale.com/reference/cli/exo/storage/index.md)	 - Object Storage management


