# /api/v2/projects/{}/auth is deprecated

Neon API deprecated /api/v2/projects/{id}/auth/* without giving a shutdown date yet.

Neon API deprecated the /api/v2/projects/{id}/auth/* endpoints without a shutdown date. Calls directed to these project-level auth paths will eventually fail once removed.

## What to use instead

Call the branch-scoped Neon Auth endpoints under /api/v2/projects/{project_id}/branches/{branch_id}/auth, covering domains, users, oauth_providers, and email_provider. Update requests to use /projects/{project_id}/branches/{branch_id}/auth/domains instead.

- API: Neon API (console.neon.tech)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `/api/v2/projects/{id}/auth/*`
- Source: [Announcement](https://neon.com/api_spec/release/v2.json)
- Verified: November 6, 2026, against Neon API's own pages
- Page: https://www.okapi.bot/providers/neon-api/breaking-changes/api-v2-projects-auth-is-deprecated/

## Neon API's words

> Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/domains` instead.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
