Update phone number plugin configuration

Updates the phone number plugin configuration for Neon Auth.
Only the fields provided in the request body are updated; omitted fields retain their current values.
The phone number plugin enables phone-based OTP authentication.
OTP codes are delivered via the send.otp webhook event with delivery_preference: "sms".
A webhook must be configured with the send.otp event enabled for SMS delivery to work.

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

Whether the phone number plugin is enabled

integer
60 to 600

Time in seconds before the OTP expires

Responses

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