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 the magic link plugin is enabled

expires_ininteger

Time in minutes before the magic link expires

disable_sign_upboolean

Whether to disable sign-up via magic link

Response

The magic link plugin configuration has been updated

enabledboolean required

Whether the magic link plugin is enabled

expires_ininteger required

Time in minutes before 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 1 revision of this API.