POST
/projects/auth/transfer_ownershipTransfer Neon-managed auth project to your own accountTransfers ownership of your Neon-managed auth project to your own auth provider account.
Request body
requiredapplication/json
objectNeonAuthTransferAuthProviderProjectRequest
auth_providerstringrequiredAuthentication 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.
project_idstringrequiredThe Neon project ID. Returned as `id` from `GET /projects`.
{
"auth_provider": "better_auth",
"project_id": "string"
}Responses
objectNeonAuthTransferAuthProviderProjectResponse
urlstringrequiredURL for completing the process of ownership transfer
{
"url": "string"
}objectGeneralError
codestringrequiredmessagestringrequiredError message
request_idstringUnique identifier for the request, useful for debugging. You can set this value manually by including an `X-Request-ID` header in the request. If not provided, the value will be generated automatically.
{
"code": "",
"message": "string",
"request_id": "string"
}