Auth (legacy)

Transfer Neon-managed auth project to your own account

Transfers ownership of your Neon-managed auth project to your own auth provider account.

post/projects/auth/transfer_ownership

Request

  • Base URL: https://console.neon.tech/api/v2
  • URL: https://console.neon.tech/api/v2/projects/auth/transfer_ownership
  • Auth: one of:
    • HTTP bearer
    • API key in cookie zenith
    • API key in cookie keycloak_token

Request body

project_idstring required

The Neon project ID. Returned as id from GET /projects.

auth_provider'mock' | 'stack' | 'better_auth' required

Authentication provider integrated with this Neon Auth configuration. better_auth integrates with Better Auth (the current, recommended provider). stack integrates with Stack Auth (deprecated). mock is a simulated provider for local development and testing only.

Response

Transfer initiated. Follow the URL to complete the process in your auth provider's UI.

urlstring required

URL for completing the process of ownership transfer

Changes

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