Smtp Monitors

Update SMTP Monitor

PATCH /api/smtp-monitors/:smtpMonitorPublicId

patch/api/smtp-monitors/{id}

Request

  • Base URL: https://uptimeify.io
  • URL: https://uptimeify.io/api/smtp-monitors/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

customerIdinteger

Move to another customer of the organization.

namestring
hostnamestring
status'active' | 'inactive' | 'maintenance' | 'disabled'

inactive is stored as disabled.

checkIntervalinteger
timeoutSecondsinteger
allowedCheckCountryCodesstring[] nullable
managementType'managed' | 'self_service'
portinteger nullable
checkMode'protocol' | 'tcp'

tcp only checks that the port accepts connections.

smtpConfigobject

Merged; a missing auth.pass keeps the stored one.

configobject

Alias of smtpConfig.

Response

OK

idinteger required
allowedCheckCountryCodesstring[] nullable required

ISO country codes of the allowed check locations; null = all.

publicIdstring uuid required
organizationIdinteger required
customerIdinteger required
namestring required
hostnamestring required
checkIntervalinteger required

Minutes.

timeoutSecondsinteger required
status'active' | 'maintenance' | 'disabled' required
managementType'managed' | 'self_service' required
notificationPhoneNumberstring nullable required
notificationEmailstring nullable required
lastCheckedAtstring date-time nullable required
createdAtstring date-time required
updatedAtstring date-time required
portinteger required
configobject required

Protocol settings. Secrets (password, privateKey, passphrase, auth.pass) are always null.

checkMode'protocol' | 'tcp' required

tcp only checks that the port accepts connections.

smtpConfigobject required

Protocol settings. Secrets (password, privateKey, passphrase, auth.pass) are always null.

hasAuthPassboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.