Update email and password configuration

Updates the email and password authentication configuration for the specified branch's Neon Auth integration.
Only the fields provided in the request body are updated.

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
boolean

Controls whether email and password authentication is enabled for this project. When omitted from an update request, the current value is unchanged.

string
enum

Email verification method. link: sends a verification link. otp: sends a one-time password.

Allowed:
boolean

When true, users must verify their email address before they can sign in. Omitting this field from an update request leaves the current value unchanged.

boolean

Whether users are automatically signed in after verifying their email

boolean

Whether to send a verification email when users sign up.

boolean

Whether to send a verification email when a user with an unverified email signs in.

boolean

Whether to disable new user sign ups. When omitted, the current setting is not changed.

Responses

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