> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# nebius storage bucket delete

## Name

`nebius storage bucket delete`

## Synopsis

```
nebius storage bucket delete [id]
  --id [required]
  --purge-at
  --ttl
  --async
```

## Examples

**Delete a bucket and schedule its purge at a specific time**

```
nebius storage bucket delete --id $BUCKET_ID --purge-at <timestamp>
```

**Delete a bucket and schedule its purge after a delay**

```
nebius storage bucket delete --id $BUCKET_ID --ttl <delay_time>
```

**Delete a bucket by name**

```
export BUCKET_ID=$(nebius storage bucket get-by-name \
  --name <bucket_name> --format jsonpath='{.metadata.id}')
nebius storage bucket delete --id $BUCKET_ID
```

## Positional Arguments

`id`

ID of the resource to delete.

## Options

`--id` (string)* \[required]*

`--purge-at` (timestamp: 1970-01-31T02:30:59Z)

Absolute purging time: status.purge\_at will be set to this value.

Mutually exclusive with: `--ttl`.

`--ttl` (duration: 2h30m10s)

Relative purging time: status.purge\_at will be set to (current timestamp + ttl).

Mutually exclusive with: `--purge-at`.

`--async` (bool)

If set, returns operation id. Otherwise, waits for the operation to complete.

## Global Options

`-h, --help` (bool)

Show this message.

`-p, --profile` (string)

Set a profile for interacting with the cloud.

`--format` (string)

Output format. Supported values: yaml|json|jsonpath|table|text.

`-f, --file` (string)

Input file. For 'update' commands automatically set --full=true.

`-c, --config` (string)

Provide path to config file.

`--debug` (bool)

Write debug logs to stderr. Commands save debug logs in the config directory under logs/, except help and shell completion.

`-I, --impersonate-service-account-id` (string)

Impersonate into the service account and use its token for a command.

`--color` (bool)

Enable colored output.

`--no-browser` (bool)

Do not open browser automatically on auth.

`--insecure` (bool)

Disable transport security.

`--auth-timeout` (duration: 2h30m10s)

Set the timeout for the request including authentication process, default is 15m0s.

`--per-retry-timeout` (duration: 2h30m10s)

Set the timeout for each retry attempt, default is 20s.

`--retries` (uint)

Set the number of retry attempts, 1 is disable retries, default is 3.

`--timeout` (duration: 2h30m10s)

Set the timeout for the main request, default is 1m0s.

`--no-check-update` (bool)

Suppress check for updates.

`--no-progress` (bool)

Suppress progress indicators and spinners.

**Input argument JSON Schema**

> [tab] Full
>
> ```json theme={null}
> {                                    
>   "id": string,                       // [required]
>   "purge_at": "1970-01-31T02:30:59Z", // [google.protobuf.Timestamp]
>                                       // Cannot be set together with: ttl
>                                       // Absolute purging time: status.purge_at will be set to this value.
>   "ttl": "2h30m10s"                   // [google.protobuf.Duration]
>                                       // Cannot be set together with: purge_at
>                                       // Relative purging time: status.purge_at will be set to (current timestamp + ttl).
> }
> ```

> [tab] CopyPaste Friendly
>
> ```json theme={null}
> nebius storage bucket delete '
> {                                    
>   "id": "",                          
>   "purge_at": "1970-01-31T02:30:59Z" 
> }
> '
> ```

*Auto generated on 23-Nov-2026*
