OpsGenie · Schema

UpdateNotificationRuleStepRequest

AlertsIncident ManagementMonitoringOn-CallOperations

Properties

Name Type Description
contact object Updated contact.
sendAfter object Updated delay.
enabled boolean Updated enabled status.
View JSON Schema on GitHub

JSON Schema

opsgenie-updatenotificationrulesteprequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UpdateNotificationRuleStepRequest",
  "title": "UpdateNotificationRuleStepRequest",
  "type": "object",
  "properties": {
    "contact": {
      "type": "object",
      "properties": {
        "method": {
          "type": "string",
          "enum": [
            "email",
            "sms",
            "voice",
            "mobile"
          ],
          "description": "Updated delivery method."
        },
        "to": {
          "type": "string",
          "description": "Updated contact address."
        }
      },
      "description": "Updated contact."
    },
    "sendAfter": {
      "type": "object",
      "properties": {
        "timeAmount": {
          "type": "integer",
          "description": "Updated wait time."
        },
        "timeUnit": {
          "type": "string",
          "enum": [
            "minutes",
            "hours",
            "days"
          ],
          "description": "Updated time unit."
        }
      },
      "description": "Updated delay."
    },
    "enabled": {
      "type": "boolean",
      "description": "Updated enabled status."
    }
  }
}