TestAlertSmtpConfig
Test SMTP connectivity without saving the configuration Fixed RI-AN-NI01: standalone SMTP connectivity test
POST
/api/v1/alerting/channels/smtp/testOperation ID
TestAlertSmtpConfigSince
1.0.0Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
application/jsonBody Fields
hostStringRequiredSMTP server hostname
Example: smtp.example.com
portIntegerRequiredSMTP server port
Example: 587
usernameStringRequiredSMTP authentication username
Example: alerts@example.com
passwordStringRequiredSMTP authentication password
Example: secret
encryptionStringRequiredEncryption mode: none, ssl, or starttls
Example: starttls
