MaintenanceWindows

create maintenance_window

Changed on

Creates the maintenance window for the specified app.

post/apps/{app_id}/maintenance_window

Request

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

Path parameters

app_idinteger required

app_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

Day of week the window applies to (0 = Sunday .. 6 = Saturday). Omit to apply every day.

start_time_utcstring required

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

duration_hoursinteger required

Length of the window in hours (2-24)

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