v1

latestOpenAPI 3.0.02026-08-0650184174.6 KB
Checks

Modify settings for a check.

Modify settings for a check. The provided settings will overwrite previous values. Settings not provided will stay the same as before the update. To clear an existing value, provide an empty value. Please note that you cannot change the type of a check once it has been created.

put/checks/{checkid}

Path parameters

checkidinteger required

Identifier of check to be updated

Request body

OR
OR
OR
OR
OR
OR
OR

Example request

{
  "url": "my.pingdom.com",
  "encryption": true,
  "port": 443,
  "shouldcontain": "Expected string",
  "shouldnotcontain": "This should not appear on checked site",
  "postdata": "Data to be send to server",
  "auth": "User:e4gh51!",
  "name": "mycheck",
  "host": "www.example.com",
  "resolution": 5,
  "sendnotificationwhendown": 2,
  "notifywhenbackup": true,
  "checkids": "123,456",
  "responsetime_threshold": 30000
}

Response

Successful operation

messagestring

Example response

{
  "message": "Modification of check was successful!"
}