v1

latestOpenAPI 3.0.02026-07-142351,1971.3 MB
Service Level Objective Corrections

Update an SLO correction

Update the specified SLO correction object.

patch/api/v1/slo/correction/{slo_correction_id}

Path parameters

slo_correction_idstring required

The ID of the SLO correction object.

Request body

Example request

{
  "data": {
    "attributes": {
      "category": "Scheduled Maintenance",
      "duration": 3600,
      "end": 1600000000,
      "rrule": "FREQ=DAILY;INTERVAL=10;COUNT=5",
      "slo_query": "env:prod service:checkout",
      "start": 1600000000,
      "timezone": "UTC"
    },
    "type": "correction"
  }
}

Response

OK

Example response

{
  "data": {
    "attributes": {
      "category": "Scheduled Maintenance",
      "duration": 3600,
      "rrule": "FREQ=DAILY;INTERVAL=10;COUNT=5"
    },
    "type": "correction"
  }
}