# Neon API Reference

Base URL: https://console.neon.tech/api/v2
Auth: Bearer token — `Authorization: Bearer $NEON_API_KEY`

Interface-specific indexes:
- [Full reference](https://neon.com/docs/reference/api/llms-full.txt)
- [REST](https://neon.com/docs/reference/api/llms-api.txt)
- [CLI](https://neon.com/docs/reference/api/llms-cli.txt)
- [SDK](https://neon.com/docs/reference/api/llms-sdk.txt)
- [MCP](https://neon.com/docs/reference/api/llms-mcp.txt)

## Projects

Full reference: [projects.md](https://neon.com/docs/reference/api/projects.md)

- [List projects](https://neon.com/md/docs/reference/api/projects/list-projects.md) `GET /projects`
- [Create project](https://neon.com/md/docs/reference/api/projects/create-project.md) `POST /projects`
- [List shared projects](https://neon.com/md/docs/reference/api/projects/list-shared-projects.md) `GET /projects/shared`
- [Retrieve project details](https://neon.com/md/docs/reference/api/projects/get-project.md) `GET /projects/{project_id}`
- [Update project](https://neon.com/md/docs/reference/api/projects/update-project.md) `PATCH /projects/{project_id}`
- [Delete project](https://neon.com/md/docs/reference/api/projects/delete-project.md) `DELETE /projects/{project_id}`
- [Recover a deleted project](https://neon.com/md/docs/reference/api/projects/recover-project.md) `POST /projects/{project_id}/recover`
- [List project access](https://neon.com/md/docs/reference/api/projects/list-project-permissions.md) `GET /projects/{project_id}/permissions`
- [Grant project access](https://neon.com/md/docs/reference/api/projects/grant-permission-to-project.md) `POST /projects/{project_id}/permissions`
- [Revoke project access](https://neon.com/md/docs/reference/api/projects/revoke-permission-from-project.md) `DELETE /projects/{project_id}/permissions/{permission_id}`
- [List available shared preload libraries](https://neon.com/md/docs/reference/api/projects/get-available-preload-libraries.md) `GET /projects/{project_id}/available_preload_libraries`
- [Create a project transfer request](https://neon.com/md/docs/reference/api/projects/create-project-transfer-request.md) `POST /projects/{project_id}/transfer_requests`
- [Accept a project transfer request](https://neon.com/md/docs/reference/api/projects/accept-project-transfer-request.md) `PUT /projects/{project_id}/transfer_requests/{request_id}`
- [List JWKS URLs](https://neon.com/md/docs/reference/api/projects/get-project-jwks.md) `GET /projects/{project_id}/jwks`
- [Add JWKS URL](https://neon.com/md/docs/reference/api/projects/add-project-jwks.md) `POST /projects/{project_id}/jwks`
- [Delete JWKS URL](https://neon.com/md/docs/reference/api/projects/delete-project-jwks.md) `DELETE /projects/{project_id}/jwks/{jwks_id}`
- [Retrieve connection URI](https://neon.com/md/docs/reference/api/projects/get-connection-uri.md) `GET /projects/{project_id}/connection_uri`
- [List VPC endpoint restrictions](https://neon.com/md/docs/reference/api/projects/list-project-vpc-endpoints.md) `GET /projects/{project_id}/vpc_endpoints`
- [Set VPC endpoint restriction](https://neon.com/md/docs/reference/api/projects/assign-project-vpc-endpoint.md) `POST /projects/{project_id}/vpc_endpoints/{vpc_endpoint_id}`
- [Delete VPC endpoint restriction](https://neon.com/md/docs/reference/api/projects/delete-project-vpc-endpoint.md) `DELETE /projects/{project_id}/vpc_endpoints/{vpc_endpoint_id}`

## Branches

Full reference: [branches.md](https://neon.com/docs/reference/api/branches.md)

- [List branches](https://neon.com/md/docs/reference/api/branches/list-project-branches.md) `GET /projects/{project_id}/branches`
- [Create branch](https://neon.com/md/docs/reference/api/branches/create-project-branch.md) `POST /projects/{project_id}/branches`
- [Create anonymized branch](https://neon.com/md/docs/reference/api/branches/create-project-branch-anonymized.md) `POST /projects/{project_id}/branch_anonymized`
- [Retrieve number of branches](https://neon.com/md/docs/reference/api/branches/count-project-branches.md) `GET /projects/{project_id}/branches/count`
- [Retrieve branch details](https://neon.com/md/docs/reference/api/branches/get-project-branch.md) `GET /projects/{project_id}/branches/{branch_id}`
- [Update branch](https://neon.com/md/docs/reference/api/branches/update-project-branch.md) `PATCH /projects/{project_id}/branches/{branch_id}`
- [Delete branch](https://neon.com/md/docs/reference/api/branches/delete-project-branch.md) `DELETE /projects/{project_id}/branches/{branch_id}`
- [Restore branch to a historical state](https://neon.com/md/docs/reference/api/branches/restore-project-branch.md) `POST /projects/{project_id}/branches/{branch_id}/restore`
- [Retrieve database schema](https://neon.com/md/docs/reference/api/branches/get-project-branch-schema.md) `GET /projects/{project_id}/branches/{branch_id}/schema`
- [Compare database schema](https://neon.com/md/docs/reference/api/branches/get-project-branch-schema-comparison.md) `GET /projects/{project_id}/branches/{branch_id}/compare_schema`
- [Retrieve masking rules](https://neon.com/md/docs/reference/api/branches/get-masking-rules.md) `GET /projects/{project_id}/branches/{branch_id}/masking_rules`
- [Update masking rules](https://neon.com/md/docs/reference/api/branches/update-masking-rules.md) `PATCH /projects/{project_id}/branches/{branch_id}/masking_rules`
- [Retrieve anonymized branch status](https://neon.com/md/docs/reference/api/branches/get-anonymized-branch-status.md) `GET /projects/{project_id}/branches/{branch_id}/anonymized_status`
- [Start anonymization](https://neon.com/md/docs/reference/api/branches/start-anonymization.md) `POST /projects/{project_id}/branches/{branch_id}/anonymize`
- [Set branch as default](https://neon.com/md/docs/reference/api/branches/set-default-project-branch.md) `POST /projects/{project_id}/branches/{branch_id}/set_as_default`
- [Recover a deleted branch](https://neon.com/md/docs/reference/api/branches/recover-project-branch.md) `POST /projects/{project_id}/branches/{branch_id}/recover`
- [Finalize branch restore from snapshot](https://neon.com/md/docs/reference/api/branches/finalize-restore-branch.md) `POST /projects/{project_id}/branches/{branch_id}/finalize_restore`
- [List branch endpoints](https://neon.com/md/docs/reference/api/branches/list-project-branch-endpoints.md) `GET /projects/{project_id}/branches/{branch_id}/endpoints`
- [List databases](https://neon.com/md/docs/reference/api/branches/list-project-branch-databases.md) `GET /projects/{project_id}/branches/{branch_id}/databases`
- [Create database](https://neon.com/md/docs/reference/api/branches/create-project-branch-database.md) `POST /projects/{project_id}/branches/{branch_id}/databases`
- [Retrieve database details](https://neon.com/md/docs/reference/api/branches/get-project-branch-database.md) `GET /projects/{project_id}/branches/{branch_id}/databases/{database_name}`
- [Update database](https://neon.com/md/docs/reference/api/branches/update-project-branch-database.md) `PATCH /projects/{project_id}/branches/{branch_id}/databases/{database_name}`
- [Delete database](https://neon.com/md/docs/reference/api/branches/delete-project-branch-database.md) `DELETE /projects/{project_id}/branches/{branch_id}/databases/{database_name}`
- [List roles](https://neon.com/md/docs/reference/api/branches/list-project-branch-roles.md) `GET /projects/{project_id}/branches/{branch_id}/roles`
- [Create role](https://neon.com/md/docs/reference/api/branches/create-project-branch-role.md) `POST /projects/{project_id}/branches/{branch_id}/roles`
- [Retrieve role details](https://neon.com/md/docs/reference/api/branches/get-project-branch-role.md) `GET /projects/{project_id}/branches/{branch_id}/roles/{role_name}`
- [Delete role](https://neon.com/md/docs/reference/api/branches/delete-project-branch-role.md) `DELETE /projects/{project_id}/branches/{branch_id}/roles/{role_name}`
- [Retrieve role password](https://neon.com/md/docs/reference/api/branches/get-project-branch-role-password.md) `GET /projects/{project_id}/branches/{branch_id}/roles/{role_name}/reveal_password`
- [Reset role password](https://neon.com/md/docs/reference/api/branches/reset-project-branch-role-password.md) `POST /projects/{project_id}/branches/{branch_id}/roles/{role_name}/reset_password`

## Endpoints

Full reference: [endpoints.md](https://neon.com/docs/reference/api/endpoints.md)

- [List compute endpoints](https://neon.com/md/docs/reference/api/endpoints/list-project-endpoints.md) `GET /projects/{project_id}/endpoints`
- [Create compute endpoint](https://neon.com/md/docs/reference/api/endpoints/create-project-endpoint.md) `POST /projects/{project_id}/endpoints`
- [Retrieve compute endpoint details](https://neon.com/md/docs/reference/api/endpoints/get-project-endpoint.md) `GET /projects/{project_id}/endpoints/{endpoint_id}`
- [Update compute endpoint](https://neon.com/md/docs/reference/api/endpoints/update-project-endpoint.md) `PATCH /projects/{project_id}/endpoints/{endpoint_id}`
- [Delete compute endpoint](https://neon.com/md/docs/reference/api/endpoints/delete-project-endpoint.md) `DELETE /projects/{project_id}/endpoints/{endpoint_id}`
- [Start compute endpoint](https://neon.com/md/docs/reference/api/endpoints/start-project-endpoint.md) `POST /projects/{project_id}/endpoints/{endpoint_id}/start`
- [Suspend compute endpoint](https://neon.com/md/docs/reference/api/endpoints/suspend-project-endpoint.md) `POST /projects/{project_id}/endpoints/{endpoint_id}/suspend`
- [Restart compute endpoint](https://neon.com/md/docs/reference/api/endpoints/restart-project-endpoint.md) `POST /projects/{project_id}/endpoints/{endpoint_id}/restart`

## Authentication

Full reference: [auth.md](https://neon.com/docs/reference/api/auth.md)

- [Retrieve Neon Auth details for the branch](https://neon.com/md/docs/reference/api/auth/get-neon-auth.md) `GET /projects/{project_id}/branches/{branch_id}/auth`
- [Enable Neon Auth for the branch](https://neon.com/md/docs/reference/api/auth/create-neon-auth.md) `POST /projects/{project_id}/branches/{branch_id}/auth`
- [Disable Neon Auth for the branch](https://neon.com/md/docs/reference/api/auth/disable-neon-auth.md) `DELETE /projects/{project_id}/branches/{branch_id}/auth`
- [List domains in redirect_uri whitelist](https://neon.com/md/docs/reference/api/auth/list-branch-neon-auth-trusted-domains.md) `GET /projects/{project_id}/branches/{branch_id}/auth/domains`
- [Add domain to redirect_uri whitelist](https://neon.com/md/docs/reference/api/auth/add-branch-neon-auth-trusted-domain.md) `POST /projects/{project_id}/branches/{branch_id}/auth/domains`
- [Delete domain from redirect_uri whitelist](https://neon.com/md/docs/reference/api/auth/delete-branch-neon-auth-trusted-domain.md) `DELETE /projects/{project_id}/branches/{branch_id}/auth/domains`
- [Create new auth user](https://neon.com/md/docs/reference/api/auth/create-branch-neon-auth-new-user.md) `POST /projects/{project_id}/branches/{branch_id}/auth/users`
- [Delete auth user](https://neon.com/md/docs/reference/api/auth/delete-branch-neon-auth-user.md) `DELETE /projects/{project_id}/branches/{branch_id}/auth/users/{auth_user_id}`
- [Update auth user role](https://neon.com/md/docs/reference/api/auth/update-neon-auth-user-role.md) `PUT /projects/{project_id}/branches/{branch_id}/auth/users/{auth_user_id}/role`
- [List OAuth providers for the branch](https://neon.com/md/docs/reference/api/auth/list-branch-neon-auth-oauth-providers.md) `GET /projects/{project_id}/branches/{branch_id}/auth/oauth_providers`
- [Add an OAuth provider](https://neon.com/md/docs/reference/api/auth/add-branch-neon-auth-oauth-provider.md) `POST /projects/{project_id}/branches/{branch_id}/auth/oauth_providers`
- [Update OAuth provider](https://neon.com/md/docs/reference/api/auth/update-branch-neon-auth-oauth-provider.md) `PATCH /projects/{project_id}/branches/{branch_id}/auth/oauth_providers/{oauth_provider_id}`
- [Delete OAuth provider](https://neon.com/md/docs/reference/api/auth/delete-branch-neon-auth-oauth-provider.md) `DELETE /projects/{project_id}/branches/{branch_id}/auth/oauth_providers/{oauth_provider_id}`
- [Send test email](https://neon.com/md/docs/reference/api/auth/send-neon-auth-test-email.md) `POST /projects/{project_id}/branches/{branch_id}/auth/send_test_email`
- [Retrieve email and password configuration](https://neon.com/md/docs/reference/api/auth/get-neon-auth-email-and-password-config.md) `GET /projects/{project_id}/branches/{branch_id}/auth/email_and_password`
- [Update email and password configuration](https://neon.com/md/docs/reference/api/auth/update-neon-auth-email-and-password-config.md) `PATCH /projects/{project_id}/branches/{branch_id}/auth/email_and_password`
- [Retrieve email provider configuration](https://neon.com/md/docs/reference/api/auth/get-neon-auth-email-provider.md) `GET /projects/{project_id}/branches/{branch_id}/auth/email_provider`
- [Update email provider configuration](https://neon.com/md/docs/reference/api/auth/update-neon-auth-email-provider.md) `PATCH /projects/{project_id}/branches/{branch_id}/auth/email_provider`
- [Retrieve localhost allow setting](https://neon.com/md/docs/reference/api/auth/get-neon-auth-allow-localhost.md) `GET /projects/{project_id}/branches/{branch_id}/auth/allow_localhost`
- [Update localhost allow setting](https://neon.com/md/docs/reference/api/auth/update-neon-auth-allow-localhost.md) `PATCH /projects/{project_id}/branches/{branch_id}/auth/allow_localhost`
- [Retrieve Neon Auth plugin configurations](https://neon.com/md/docs/reference/api/auth/get-neon-auth-plugin-configs.md) `GET /projects/{project_id}/branches/{branch_id}/auth/plugins`
- [Update organization plugin configuration](https://neon.com/md/docs/reference/api/auth/update-neon-auth-organization-plugin.md) `PATCH /projects/{project_id}/branches/{branch_id}/auth/plugins/organization`
- [Update auth configuration](https://neon.com/md/docs/reference/api/auth/update-neon-auth-config.md) `PATCH /projects/{project_id}/branches/{branch_id}/auth/config`
- [Update magic link plugin configuration](https://neon.com/md/docs/reference/api/auth/update-neon-auth-magic-link-plugin.md) `PATCH /projects/{project_id}/branches/{branch_id}/auth/plugins/magic-link`
- [Retrieve phone number plugin configuration](https://neon.com/md/docs/reference/api/auth/get-neon-auth-phone-number-plugin.md) `GET /projects/{project_id}/branches/{branch_id}/auth/plugins/phone-number`
- [Update phone number plugin configuration](https://neon.com/md/docs/reference/api/auth/update-neon-auth-phone-number-plugin.md) `PATCH /projects/{project_id}/branches/{branch_id}/auth/plugins/phone-number`
- [Retrieve Neon Auth webhook configuration](https://neon.com/md/docs/reference/api/auth/get-neon-auth-webhook-config.md) `GET /projects/{project_id}/branches/{branch_id}/auth/webhooks`
- [Update Neon Auth webhook configuration](https://neon.com/md/docs/reference/api/auth/update-neon-auth-webhook-config.md) `PUT /projects/{project_id}/branches/{branch_id}/auth/webhooks`

## Organizations

Full reference: [organizations.md](https://neon.com/docs/reference/api/organizations.md)

- [Retrieve organization details](https://neon.com/md/docs/reference/api/organizations/get-organization.md) `GET /organizations/{org_id}`
- [List organization API keys](https://neon.com/md/docs/reference/api/organizations/list-org-api-keys.md) `GET /organizations/{org_id}/api_keys`
- [Create organization API key](https://neon.com/md/docs/reference/api/organizations/create-org-api-key.md) `POST /organizations/{org_id}/api_keys`
- [Revoke organization API key](https://neon.com/md/docs/reference/api/organizations/revoke-org-api-key.md) `DELETE /organizations/{org_id}/api_keys/{key_id}`
- [Retrieve organization spending limit](https://neon.com/md/docs/reference/api/organizations/get-organization-spending-limit.md) `GET /organizations/{org_id}/billing/spending_limit`
- [Set organization spending limit](https://neon.com/md/docs/reference/api/organizations/set-organization-spending-limit.md) `PUT /organizations/{org_id}/billing/spending_limit`
- [Remove organization spending limit](https://neon.com/md/docs/reference/api/organizations/delete-organization-spending-limit.md) `DELETE /organizations/{org_id}/billing/spending_limit`
- [List organization members](https://neon.com/md/docs/reference/api/organizations/get-organization-members.md) `GET /organizations/{org_id}/members`
- [Retrieve organization member details](https://neon.com/md/docs/reference/api/organizations/get-organization-member.md) `GET /organizations/{org_id}/members/{member_id}`
- [Update role for organization member](https://neon.com/md/docs/reference/api/organizations/update-organization-member.md) `PATCH /organizations/{org_id}/members/{member_id}`
- [Remove organization member](https://neon.com/md/docs/reference/api/organizations/remove-organization-member.md) `DELETE /organizations/{org_id}/members/{member_id}`
- [List organization invitations](https://neon.com/md/docs/reference/api/organizations/get-organization-invitations.md) `GET /organizations/{org_id}/invitations`
- [Create organization invitations](https://neon.com/md/docs/reference/api/organizations/create-organization-invitations.md) `POST /organizations/{org_id}/invitations`
- [Transfer projects between organizations](https://neon.com/md/docs/reference/api/organizations/transfer-projects-from-org-to-org.md) `POST /organizations/{source_org_id}/projects/transfer`
- [List VPC endpoints across all regions](https://neon.com/md/docs/reference/api/organizations/list-organization-vpc-endpoints-all-regions.md) `GET /organizations/{org_id}/vpc/vpc_endpoints`
- [List VPC endpoints](https://neon.com/md/docs/reference/api/organizations/list-organization-vpc-endpoints.md) `GET /organizations/{org_id}/vpc/region/{region_id}/vpc_endpoints`
- [Retrieve VPC endpoint details](https://neon.com/md/docs/reference/api/organizations/get-organization-vpc-endpoint-details.md) `GET /organizations/{org_id}/vpc/region/{region_id}/vpc_endpoints/{vpc_endpoint_id}`
- [Assign or update VPC endpoint](https://neon.com/md/docs/reference/api/organizations/assign-organization-vpc-endpoint.md) `POST /organizations/{org_id}/vpc/region/{region_id}/vpc_endpoints/{vpc_endpoint_id}`
- [Delete VPC endpoint](https://neon.com/md/docs/reference/api/organizations/delete-organization-vpc-endpoint.md) `DELETE /organizations/{org_id}/vpc/region/{region_id}/vpc_endpoints/{vpc_endpoint_id}`

## API Keys

Full reference: [api-keys.md](https://neon.com/docs/reference/api/api-keys.md)

- [List API keys](https://neon.com/md/docs/reference/api/api-keys/list-api-keys.md) `GET /api_keys`
- [Create API key](https://neon.com/md/docs/reference/api/api-keys/create-api-key.md) `POST /api_keys`
- [Revoke API key](https://neon.com/md/docs/reference/api/api-keys/revoke-api-key.md) `DELETE /api_keys/{key_id}`

## Users

Full reference: [users.md](https://neon.com/docs/reference/api/users.md)

- [Retrieve current user details](https://neon.com/md/docs/reference/api/users/get-current-user-info.md) `GET /users/me`
- [List organizations for the current user](https://neon.com/md/docs/reference/api/users/get-current-user-organizations.md) `GET /users/me/organizations`
- [Transfer projects from personal account to organization](https://neon.com/md/docs/reference/api/users/transfer-projects-from-user-to-org.md) `POST /users/me/projects/transfer`
- [Retrieve request authentication details](https://neon.com/md/docs/reference/api/users/get-auth-details.md) `GET /auth`

## Regions

Full reference: [regions.md](https://neon.com/docs/reference/api/regions.md)

- [List supported regions](https://neon.com/md/docs/reference/api/regions/get-active-regions.md) `GET /regions`

## Consumption

Full reference: [consumption.md](https://neon.com/docs/reference/api/consumption.md)

- [Retrieve account consumption metrics (legacy plans)](https://neon.com/md/docs/reference/api/consumption/get-consumption-history-per-account.md) `GET /consumption_history/account`
- [Retrieve project consumption metrics (legacy plans)](https://neon.com/md/docs/reference/api/consumption/get-consumption-history-per-project.md) `GET /consumption_history/projects`
- [Retrieve project consumption metrics](https://neon.com/md/docs/reference/api/consumption/get-consumption-history-per-project-v2.md) `GET /consumption_history/v2/projects`
- [Retrieve branch consumption metrics](https://neon.com/md/docs/reference/api/consumption/get-consumption-history-per-branch-v2.md) `GET /consumption_history/v2/branches`

## Operations

Full reference: [operations.md](https://neon.com/docs/reference/api/operations.md)

- [Retrieve operation details](https://neon.com/md/docs/reference/api/operations/get-project-operation.md) `GET /projects/{project_id}/operations/{operation_id}`
- [List operations](https://neon.com/md/docs/reference/api/operations/list-project-operations.md) `GET /projects/{project_id}/operations`

## Snapshots

Full reference: [snapshots.md](https://neon.com/docs/reference/api/snapshots.md)

- [Create snapshot](https://neon.com/md/docs/reference/api/snapshots/create-snapshot.md) `POST /projects/{project_id}/branches/{branch_id}/snapshot`
- [List project snapshots](https://neon.com/md/docs/reference/api/snapshots/list-snapshots.md) `GET /projects/{project_id}/snapshots`
- [Update snapshot](https://neon.com/md/docs/reference/api/snapshots/update-snapshot.md) `PATCH /projects/{project_id}/snapshots/{snapshot_id}`
- [Delete snapshot](https://neon.com/md/docs/reference/api/snapshots/delete-snapshot.md) `DELETE /projects/{project_id}/snapshots/{snapshot_id}`
- [Restore snapshot](https://neon.com/md/docs/reference/api/snapshots/restore-snapshot.md) `POST /projects/{project_id}/snapshots/{snapshot_id}/restore`
- [Retrieve backup schedule](https://neon.com/md/docs/reference/api/snapshots/get-snapshot-schedule.md) `GET /projects/{project_id}/branches/{branch_id}/backup_schedule`
- [Update backup schedule](https://neon.com/md/docs/reference/api/snapshots/set-snapshot-schedule.md) `PUT /projects/{project_id}/branches/{branch_id}/backup_schedule`

## Data API

Full reference: [dataapi.md](https://neon.com/docs/reference/api/dataapi.md)

- [Get advisor issues](https://neon.com/md/docs/reference/api/dataapi/get-project-advisor-security-issues.md) `GET /projects/{project_id}/advisors`
- [Retrieve Neon Data API configuration](https://neon.com/md/docs/reference/api/dataapi/get-project-branch-data-api.md) `GET /projects/{project_id}/branches/{branch_id}/data-api/{database_name}`
- [Create Neon Data API](https://neon.com/md/docs/reference/api/dataapi/create-project-branch-data-api.md) `POST /projects/{project_id}/branches/{branch_id}/data-api/{database_name}`
- [Update Neon Data API](https://neon.com/md/docs/reference/api/dataapi/update-project-branch-data-api.md) `PATCH /projects/{project_id}/branches/{branch_id}/data-api/{database_name}`
- [Delete Neon Data API](https://neon.com/md/docs/reference/api/dataapi/delete-project-branch-data-api.md) `DELETE /projects/{project_id}/branches/{branch_id}/data-api/{database_name}`

## Legacy Auth

Full reference: [auth-legacy.md](https://neon.com/docs/reference/api/auth-legacy.md)

- [Create Neon Auth integration](https://neon.com/md/docs/reference/api/auth-legacy/create-neon-auth-integration.md) `POST /projects/auth/create`
- [List trusted redirect URI domains](https://neon.com/md/docs/reference/api/auth-legacy/list-neon-auth-redirect-uri-whitelist-domains.md) `GET /projects/{project_id}/auth/domains`
- [Add trusted redirect URI domain](https://neon.com/md/docs/reference/api/auth-legacy/add-neon-auth-domain-to-redirect-uri-whitelist.md) `POST /projects/{project_id}/auth/domains`
- [Delete trusted redirect URI domain](https://neon.com/md/docs/reference/api/auth-legacy/delete-neon-auth-domain-from-redirect-uri-whitelist.md) `DELETE /projects/{project_id}/auth/domains`
- [Create Auth Provider SDK keys](https://neon.com/md/docs/reference/api/auth-legacy/create-neon-auth-provider-sdk-keys.md) `POST /projects/auth/keys`
- [Create new auth user](https://neon.com/md/docs/reference/api/auth-legacy/create-neon-auth-new-user.md) `POST /projects/auth/user`
- [Delete auth user](https://neon.com/md/docs/reference/api/auth-legacy/delete-neon-auth-user.md) `DELETE /projects/{project_id}/auth/users/{auth_user_id}`
- [Transfer Neon-managed auth project to your own account](https://neon.com/md/docs/reference/api/auth-legacy/transfer-neon-auth-provider-project.md) `POST /projects/auth/transfer_ownership`
- [List active integrations with auth providers](https://neon.com/md/docs/reference/api/auth-legacy/list-neon-auth-integrations.md) `GET /projects/{project_id}/auth/integrations`
- [List OAuth providers](https://neon.com/md/docs/reference/api/auth-legacy/list-neon-auth-oauth-providers.md) `GET /projects/{project_id}/auth/oauth_providers`
- [Add an OAuth provider](https://neon.com/md/docs/reference/api/auth-legacy/add-neon-auth-oauth-provider.md) `POST /projects/{project_id}/auth/oauth_providers`
- [Update OAuth provider](https://neon.com/md/docs/reference/api/auth-legacy/update-neon-auth-oauth-provider.md) `PATCH /projects/{project_id}/auth/oauth_providers/{oauth_provider_id}`
- [Delete OAuth provider](https://neon.com/md/docs/reference/api/auth-legacy/delete-neon-auth-oauth-provider.md) `DELETE /projects/{project_id}/auth/oauth_providers/{oauth_provider_id}`
- [Retrieve email server configuration](https://neon.com/md/docs/reference/api/auth-legacy/get-neon-auth-email-server.md) `GET /projects/{project_id}/auth/email_server`
- [Update email server configuration](https://neon.com/md/docs/reference/api/auth-legacy/update-neon-auth-email-server.md) `PATCH /projects/{project_id}/auth/email_server`
- [Delete integration with auth provider](https://neon.com/md/docs/reference/api/auth-legacy/delete-neon-auth-integration.md) `DELETE /projects/{project_id}/auth/integration/{auth_provider}`

## Buckets

Full reference: [buckets.md](https://neon.com/docs/reference/api/buckets.md)

- [List buckets on the branch](https://neon.com/md/docs/reference/api/buckets/list-project-branch-buckets.md) `GET /projects/{project_id}/branches/{branch_id}/buckets`
- [Create a bucket on the branch](https://neon.com/md/docs/reference/api/buckets/create-project-branch-bucket.md) `POST /projects/{project_id}/branches/{branch_id}/buckets`
- [Delete a bucket on the branch](https://neon.com/md/docs/reference/api/buckets/delete-project-branch-bucket.md) `DELETE /projects/{project_id}/branches/{branch_id}/buckets/{bucket_name}`
