Monitors

Update a monitor (collection PUT)

Changed on

Compatibility update that requires id in the JSON body. Prefer PATCH /api/monitors/{id} or PUT /api/monitors/{id} for new integrations. The monitor must belong to the current project.

put/api/monitors

Request

  • Base URL
    https://demo.supercheck.dev
  • Auth
    HTTP bearer

Request body

namestring
descriptionstring
type'http_request' | 'website' | 'ping_host' | 'port_check' | 'synthetic_test'
targetstring
frequencyMinutesinteger
enabledboolean
status'up' | 'down' | 'paused' | 'pending' | 'maintenance' | 'error'
idstring uuid required

Monitor ID to update

Response

Monitor updated

idstring uuid
organizationIdstring uuid nullable
projectIdstring uuid nullable
createdByUserIdstring uuid nullable
createdByNamestring nullable
createdByImagestring nullable
namestring
descriptionstring nullable
targetstring

URL, host, or synthetic test target being monitored

type'http_request' | 'website' | 'ping_host' | 'port_check' | 'synthetic_test'
status'up' | 'down' | 'paused' | 'pending' | 'maintenance' | 'error'
frequencyMinutesinteger

Check interval in minutes

enabledboolean
lastCheckAtstring date-time nullable
lastStatusChangeAtstring date-time nullable
mutedUntilstring date-time nullable
scheduledJobIdstring nullable
createdAtstring date-time nullable
updatedAtstring date-time nullable

Changes

    • warning

      the ///// request property's max was set to 100.00

    • warning

      the ///// request property's max was set to 100.00

    • warning

      removed the request property /////

    • warning

      removed the request property /////

    • warning

      removed the request property /////

    • warning

      removed the request property /////

    • warning

      removed the request property /////

    • warning

      removed the optional property ///// from the response with the status

    • warning

      removed the optional property ///// from the response with the status

    • warning

      removed the optional property ///// from the response with the status

    • warning

      removed the optional property ///// from the response with the status

    • warning

      removed the optional property ///// from the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status