Skip to main content

Create Maintenance

Creates a new maintenance.

External Documentation

To learn more, visit the Opsgenie documentation.

Parameters

ParameterDescription
DescriptionDescription for the maintenance.
End DateEnd time of the time configuration of maintenance.
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

Create Maintenance with Opsgenie and Send Results Via Email

Automation LibraryPreview this Automation on desktop