Auth (legacy)

Update OAuth provider

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

patch/projects/{project_id}/auth/oauth_providers/{oauth_provider_id}

Request

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

Request body

client_idstring

The OAuth client ID registered with the provider. Omit to keep the currently configured value.

client_secretstring

OAuth client secret for the provider. Omit to leave the existing secret unchanged.

microsoft_tenant_idstring

The tenant ID scoping the Microsoft OAuth provider. Supply this field when the provider type is microsoft; it has no effect for other provider types.

Response

The OAuth provider has been added to the project

id'google' | 'github' | 'microsoft' | 'vercel' required
type'standard' | 'shared' required
client_idstring

Public identifier for the OAuth application, issued by the provider when the application is registered.

client_secretstring

OAuth client secret for the provider.

Changes

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