OpsGenie · Schema

CreateOverrideRequest

AlertsIncident ManagementMonitoringOn-CallOperations

Properties

Name Type Description
user object User who will take over the on-call duty.
startDate string Start date and time of the override.
endDate string End date and time of the override.
rotations array Specific rotations to override. If not provided, all rotations are overridden.
View JSON Schema on GitHub

JSON Schema

opsgenie-createoverriderequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateOverrideRequest",
  "title": "CreateOverrideRequest",
  "type": "object",
  "required": [
    "user",
    "startDate",
    "endDate"
  ],
  "properties": {
    "user": {
      "type": "object",
      "description": "User who will take over the on-call duty.",
      "properties": {
        "id": {
          "type": "string",
          "description": "User ID."
        },
        "username": {
          "type": "string",
          "description": "Username (email)."
        }
      }
    },
    "startDate": {
      "type": "string",
      "format": "date-time",
      "description": "Start date and time of the override."
    },
    "endDate": {
      "type": "string",
      "format": "date-time",
      "description": "End date and time of the override."
    },
    "rotations": {
      "type": "array",
      "description": "Specific rotations to override. If not provided, all rotations are overridden.",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Rotation ID."
          },
          "name": {
            "type": "string",
            "description": "Rotation name."
          }
        }
      }
    }
  }
}