Skip to main content
PATCH
Update custom SMTP settings
Update the SMTP credentials. Only the fields you send change; the rest keep their stored values. Returns { "success": true, "data": { ... } } with the same masked data shape as GET.
Sending password as null or an empty string does not clear the stored password - it keeps the existing one. Invalid fromEmail/replyTo values, an out-of-range port, or an unknown encryption are rejected with 400.

Authorizations

Authorization
string
header
required

Your SnowSEO API key (sk_...).

Body

application/json
teamId
string
enabled
boolean
host
string | null
port
number | null
encryption
enum<string>
Available options:
ssl,
tls,
none
user
string | null
password
string | null
fromName
string | null
fromEmail
string | null
replyTo
string | null

Response

200 - application/json

Default Response

success
boolean
data
object