PUT   custom_events/{id}

Updates custom event.

URL Parameters

NameDescription
id

Custom event Id. Type: numeric.

Remarks

If you set all_checks property to false then you have to init checks property with not empty list of checks ids.

Severity property accepts one of these values: "I", "W", "E" or "F". "I" means Information, "W" means Warning, "E" means Error and "F" means Fatal.

Request body model example and description

{
  "name": "sample string 1",
  "description": "sample string 2",
  "from_utc": "2019-08-21T12:27:05",
  "to_utc": "2019-08-21T12:27:05",
  "severity": "I",
  "all_checks": false,
  "checks": [
    1,
    2,
    3
  ]
}
NameType Required Description
name String No

No documentation available.

description String No

No documentation available.

from_utc DateTime No

No documentation available.

to_utc DateTime No

No documentation available.

severity String No

No documentation available.

all_checks Boolean No

No documentation available.

checks Array No

No documentation available.