Update email provider configuration

Updates the email provider configuration for the specified branch's Neon Auth integration.
The email provider handles transactional messages such as verification emails and password reset links.

Partial standard updates — omitting fields to keep their stored values — are supported only for
Better Auth integrations, which merge omitted fields server-side. Legacy Stack Auth integrations do
not merge and require all six standard fields (host, port, username, password,
sender_email, sender_name) on every update; a partial standard body is rejected with 400.

Path Params
string
required
^[a-z0-9-]{1,60}$

The Neon project ID

string
required
^[a-z0-9-]{1,60}$

The Neon branch ID

Body Params
string

Hostname of the email server.

integer

TCP port of the SMTP server. Common values: 25 (SMTP), 465 (SMTPS), 587 (submission).

string

Username for authenticating with the SMTP server.

string

Password for authenticating with the SMTP server.

string

Email address used as the From address on outgoing auth emails.

string

Display name shown as the sender in outgoing emails.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json