Update a database
update_databaseAny of: the name; the weekly maintenance window (day 0 = Sunday, start hour, Montréal time, 2 hours long; minor updates, usually under 2 minutes of downtime); the disk cap (the disk grows by itself at 80 % full, up to the cap; disk beyond what the size includes is billed per GB); on Valkey, the eviction policy. Scope: databases.write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| database | Yes | Database id, as returned by list_databases or create_database. | |
| disk_cap_gb | No | ||
| eviction_policy | No | Valkey only: what happens when data memory is full. noeviction (default) refuses writes; allkeys-lru removes the least used keys, for a cache. | |
| maintenance_day | No | ||
| maintenance_hour | No |