# pw buckets rm

> Source: https://parallelworks.com/docs/cli/pw/buckets/rm

## pw buckets rm

Remove files from buckets

### Synopsis

The **pw buckets rm** command must be followed by a bucket URI and file name.

Both PW URIs and CSP URIs are accepted. For more information about URIs, please see [this section](/docs/cli#about-uris).

```
pw buckets rm [bucket URI]/[file] [flags]
```

### Examples

```
  # Delete a file named sample.txt from a bucket named demos3bucket
  pw buckets rm pw://demo/demos3bucket/sample.txt
```

### Options

```
  -h, --help   help for rm
```

### Options inherited from parent commands

```
      --context string         The context to use. Overrides PW_CONTEXT environment variable and current context from config.
      --platform-host string   The Parallel Works ACTIVATE platform host to use. Will override any other platform host settings.
  -v, --verbose                Enable verbose logging
```

### SEE ALSO

* [pw buckets](/docs/cli/pw/buckets)	 - Manage cloud buckets
