Auth

Update magic link plugin configuration

Updates the magic link plugin configuration for Neon Auth. The magic link plugin enables passwordless authentication via email magic links.

patch/projects/{project_id}/branches/{branch_id}/auth/plugins/magic-link

Request

  • Base URL: https://console.neon.tech/api/v2
  • URL: https://console.neon.tech/api/v2/projects/{project_id}/branches/{branch_id}/auth/plugins/magic-link
  • Auth: one of:
    • HTTP bearer
    • API key in cookie zenith
    • API key in cookie keycloak_token

Request body

enabledboolean

Whether to enable the magic link plugin.

expires_ininteger

Minutes until the magic link expires.

disable_sign_upboolean

When true, sign-up via magic link is disabled.

Response

The magic link plugin configuration has been updated

enabledboolean required

Whether the magic link plugin is enabled.

expires_ininteger required

Minutes until the magic link expires.

disable_sign_upboolean required

Whether to disable sign-up via magic link.

Changes

No recorded changes to this operation across all 15 revisions of this API.