Update SMTP configuration
Create or update SMTP email configuration (admin only).
When enabled is true, the fields host, username, senderEmail, and senderName are required by the backend validation.
When enabled is false, these fields may be empty.
SMTP cannot be disabled on a self-hosted instance while email verification is required, unless a managed email provider is available.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
When true, host/username/senderEmail/senderName become required
25, 465, 587, 2525 Required when enabled is true
Required when enabled is true
SMTP password (optional on update if unchanged)
Required when enabled is true
Required when enabled is true
Minimum interval between emails in seconds
x >= 0Response
SMTP configuration updated