dots.v2.databases.byDatabase_cluster_uuid().maintenance.put()
Generated on 5 Nov 2026
from DoTs version
v1.23.0
Usage
client.v2.databases.byDatabase_cluster_uuid(database_cluster_uuid).maintenance.put(body: Database_maintenance_window, requestConfiguration?: RequestConfiguration<object>): Promise<void>Description
To configure the window when automatic maintenance should be performed for a database cluster, send a PUT request to /v2/databases/{database_cluster_uuid}/maintenance.
A successful request will receive a 204 No Content status code with no body in response.
Parameters
Path Parameters
database_cluster_uuidstring requiredExample:
9cc10173-e9ea-4176-9dbc-a4cee4c4ff30A unique identifier for a database cluster.
Request Body
daystring requiredExample:
tuesdayThe day of the week on which to apply maintenance updates.
hourstring requiredExample:
14:00The hour in UTC at which maintenance updates will be applied in 24 hour format.
pendingboolean optional read-onlyExample:
trueA boolean value indicating whether any maintenance is scheduled to be performed in the next window.
descriptionarray of strings optional read-onlyExample:
["Update TimescaleDB to version 1.2.1", "Upgrade to PostgreSQL 11.2 and 10.7 bugfix releases"]A list of strings, each containing information about a pending maintenance update.
Request Sample
More Information
See /v2/databases/{database_cluster_uuid}/maintenance in the API reference for additional detail on responses, headers, parameters, and more.