MaintenanceWindows

update maintenance_window

Changed on

Partially updates the maintenance window's attributes.

patch/databases/{database_id}/maintenance_window

Request

  • Base URL
    https://api.aptible.com
  • Auth
    API key in header Authorization

Path parameters

database_idinteger required

database_id

Query parameters

no_embedboolean

When true, omits embedded resources from the response. Also triggered when the Prefer: no_sensitive_extras=true header is present.

Headers

Prefer'no_sensitive_extras=true'

When set to no_sensitive_extras=true, omits sensitive fields and embedded resources from the response.

Request body

day_of_weekinteger
start_time_utcstring
duration_hoursinteger
enabledboolean

Response

successful

idinteger required
account_idinteger
day_of_weekinteger
start_time_utcstring

Start of the window, in UTC, as HH:MM (e.g. "22:00")

duration_hoursinteger
enabledboolean
created_atstring dateTime
updated_atstring dateTime

Changes