update_database
Update InfluxDB database settings: modify retention period, rename buckets, or adjust table and column limits across Cloud Serverless, Dedicated, Clustered, and Core.
Instructions
Update database configuration for InfluxDB. For Cloud Dedicated/Clustered: modify maxTables, maxColumnsPerTable, and retentionPeriod. For Cloud Serverless: modify bucket name, description, and retentionPeriod. For Core/Enterprise: modify retentionPeriod only (Core requires v3.2.0+).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the database/bucket to update | |
| newName | No | New name for the database/bucket (Cloud Serverless only) | |
| maxTables | No | Maximum number of tables (Cloud Dedicated/Clustered only) | |
| description | No | Description for the bucket (Cloud Serverless only) | |
| retentionPeriod | No | Retention period in nanoseconds (Cloud Dedicated/Clustered, Cloud Serverless, and Core/Enterprise) | |
| maxColumnsPerTable | No | Maximum columns per table (Cloud Dedicated/Clustered only) |