Auth (legacy)

Delete integration with auth provider

Deprecated. Use /projects/{project_id}/branches/{branch_id}/auth instead. Removal scheduled for March 1, 2026.

delete/projects/{project_id}/auth/integration/{auth_provider}

Request

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

Path parameters

project_idstring required

The Neon project ID

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.

The authentication provider name

Request body

delete_databoolean

If true, deletes the neon_auth schema from the database

Response

Delete the integration with the authentication provider

Changes

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