Auth (legacy)

Add trusted redirect URI domain

DEPRECATED, use /projects/{project_id}/branches/{branch_id}/auth/domains instead. Adds a domain to the redirect_uri whitelist for the specified project.

post/projects/{project_id}/auth/domains

Request

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

Request body

domainstring uri required
auth_provider'mock' | 'stack' | 'better_auth' required

Response

Added the domain to the redirect_uri whitelist

Changes

No recorded changes to this operation across all 1 revision of this API.