Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions content/shared/influxdb3-cli/update/database/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Updates a database retention period to 30 days.
<!--pytest.mark.skip-->

```bash{placeholders="DATABASE_NAME|AUTH_TOKEN"}
influxdb3 update database --retention-period 30d DATABASE_NAME
influxdb3 update database --retention-period 30d --database DATABASE_NAME
```

### Clear a database retention period
Expand All @@ -90,7 +90,7 @@ Removes the retention period from a database by setting it to `none`.
<!--pytest.mark.skip-->

```bash{placeholders="DATABASE_NAME|AUTH_TOKEN"}
influxdb3 update database --retention-period none DATABASE_NAME
influxdb3 update database --retention-period none --database DATABASE_NAME
```

### Update a database with authentication
Expand All @@ -100,7 +100,7 @@ Updates a database using an authentication token.
<!--pytest.mark.skip-->

```bash{placeholders="DATABASE_NAME|AUTH_TOKEN"}
influxdb3 update database --token AUTH_TOKEN --retention-period 7d DATABASE_NAME
influxdb3 update database --token AUTH_TOKEN --retention-period 7d --database DATABASE_NAME
```

{{% /show-in %}}
{{% /show-in %}}