Skip to main content

Update Maintenance

Update maintenance with given id.

External Documentation

To learn more, visit the Opsgenie documentation.

Parameters

ParameterDescription
DescriptionDescription for the maintenance.
End DateEnd time of the time configuration of maintenance.
IDIdentifier of the maintenance to be searched.
RulesRules of maintenance, which takes a list of rule objects and defines the maintenance rules over integrations and policies.
Start DateStart time of the time configuration of maintenance.
Time TypeType of the maintenance time.

Example Output

{
"data": {
"description": "Description for maintenance meta data",
"id": "Identifier of the maintenance meta data",
"status": "Status of the maintenance meta data",
"time": {
"endDate": "End time of the time configuration of maintenance",
"startDate": "Start time of the time configuration of maintenance",
"type": "Type of the maintenance time"
}
},
"requestId": "string",
"took": 0
}

Automation Library Example

Update Maintenance with Opsgenie and Send Results Via Email

Automation LibraryPreview this Automation on desktop