younifyd
Menu

Update Maintenance Window

Update a maintenance window

PUT/maintenance_windows/{id}

Use it in a workflow

  1. Add a step and choose the PagerDuty connector.
  2. Pick the Update Maintenance Window action (under Maintenance Windows).
  3. Fill in the fields below, then reference the result from later steps as {{updateMaintenanceWindow.response.data}}.

Request

Path parameters

idstringrequired

The ID of the resource.

Headers

Acceptstringrequired

The `Accept` header is used as a versioning header.

Default "application/vnd.pagerduty+json;version=2"

Content-Typestringrequired

One ofapplication/jsonDefault "application/json"

Request body

Enter the body as JSON in the step's Body field.

maintenance_windowanyrequired
json
{
  "maintenance_window": null
}

Response

Returns 200 with an object. Read it in later steps with {{updateMaintenanceWindow.response.data.<field>}}.

maintenance_windowany
json
{
  "maintenance_window": null
}

Need more? See the PagerDuty guide for connection setup and behaviour shared by every action.