Update email provider configuration
Changed onUpdates 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.
Request
- Base URL: https://console.neon.tech/api/v2
- URL: https://console.neon.tech/api/v2/projects/{project_id}/branches/{branch_id}/auth/email_provider
- Auth: one of:
- HTTP bearer
- API key in cookie zenith
- API key in cookie keycloak_token
Request body
Response
The email provider configuration has been updated
Changes
- ▲
added to the response body
oneOflist for the response status - ○
the request property
////became optional - ○
the request property
////became optional - ○
the request property
////became optional - ○
the request property
////became optional - ○
the request property
////became optional - ○
the request property
////became optional - ○
mapped value for key
standardchanged from to from the response discriminator for the response status - ○
removed from the response body
oneOflist for the response status
- ▲