Neon is expanding into a backend: Object Storage, Functions, and AI Gateway now in beta

Endpoint index

Markdown for AI context

All 163 Neon API endpoints

GET/projects/{project_id}/branchesList branchesPOST/projects/{project_id}/branchesCreate branchPOST/projects/{project_id}/branch_anonymizedCreate anonymized branchGET/projects/{project_id}/branches/countRetrieve number of branchesGET/projects/{project_id}/branches/{branch_id}Retrieve branch detailsPATCH/projects/{project_id}/branches/{branch_id}Update branchDELETE/projects/{project_id}/branches/{branch_id}Delete branchPOST/projects/{project_id}/branches/{branch_id}/restoreRestore branch to a historical stateGET/projects/{project_id}/branches/{branch_id}/schemaRetrieve database schemaGET/projects/{project_id}/branches/{branch_id}/compare_schemaCompare database schemaGET/projects/{project_id}/branches/{branch_id}/masking_rulesRetrieve masking rulesPATCH/projects/{project_id}/branches/{branch_id}/masking_rulesUpdate masking rulesGET/projects/{project_id}/branches/{branch_id}/anonymized_statusRetrieve anonymized branch statusPOST/projects/{project_id}/branches/{branch_id}/anonymizeStart anonymizationPOST/projects/{project_id}/branches/{branch_id}/set_as_defaultSet branch as defaultPOST/projects/{project_id}/branches/{branch_id}/finalize_restoreFinalize branch restore from snapshotGET/projects/{project_id}/branches/{branch_id}/endpointsList branch endpointsGET/projects/{project_id}/branches/{branch_id}/databasesList databasesPOST/projects/{project_id}/branches/{branch_id}/databasesCreate databaseGET/projects/{project_id}/branches/{branch_id}/databases/{database_name}Retrieve database detailsPATCH/projects/{project_id}/branches/{branch_id}/databases/{database_name}Update databaseDELETE/projects/{project_id}/branches/{branch_id}/databases/{database_name}Delete databaseGET/projects/{project_id}/branches/{branch_id}/rolesList rolesPOST/projects/{project_id}/branches/{branch_id}/rolesCreate roleGET/projects/{project_id}/branches/{branch_id}/roles/{role_name}Retrieve role detailsDELETE/projects/{project_id}/branches/{branch_id}/roles/{role_name}Delete roleGET/projects/{project_id}/branches/{branch_id}/roles/{role_name}/reveal_passwordRetrieve role passwordPOST/projects/{project_id}/branches/{branch_id}/roles/{role_name}/reset_passwordReset role passwordPOST/projects/{project_id}/branches/{branch_id}/recoverRecover a deleted branch
PUT/projects/{project_id}/branches/{branch_id}/auth/users/{auth_user_id}/roleUpdate auth user roleGET/projects/{project_id}/branches/{branch_id}/auth/email_and_passwordRetrieve email and password configurationPATCH/projects/{project_id}/branches/{branch_id}/auth/email_and_passwordUpdate email and password configurationGET/projects/{project_id}/branches/{branch_id}/auth/email_providerRetrieve email provider configurationPATCH/projects/{project_id}/branches/{branch_id}/auth/email_providerUpdate email provider configurationGET/projects/{project_id}/branches/{branch_id}/auth/allow_localhostRetrieve localhost allow settingPATCH/projects/{project_id}/branches/{branch_id}/auth/allow_localhostUpdate localhost allow settingGET/projects/{project_id}/branches/{branch_id}/auth/pluginsRetrieve Neon Auth plugin configurationsPATCH/projects/{project_id}/branches/{branch_id}/auth/plugins/organizationUpdate organization plugin configurationPATCH/projects/{project_id}/branches/{branch_id}/auth/configUpdate auth configurationPATCH/projects/{project_id}/branches/{branch_id}/auth/plugins/magic-linkUpdate magic link plugin configurationGET/projects/{project_id}/branches/{branch_id}/auth/plugins/phone-numberRetrieve phone number plugin configurationPATCH/projects/{project_id}/branches/{branch_id}/auth/plugins/phone-numberUpdate phone number plugin configurationGET/projects/{project_id}/branches/{branch_id}/auth/webhooksRetrieve Neon Auth webhook configurationPUT/projects/{project_id}/branches/{branch_id}/auth/webhooksUpdate Neon Auth webhook configurationGET/projects/{project_id}/branches/{branch_id}/authRetrieve Neon Auth details for the branchPOST/projects/{project_id}/branches/{branch_id}/authEnable Neon Auth for the branchDELETE/projects/{project_id}/branches/{branch_id}/authDisable Neon Auth for the branchGET/projects/{project_id}/branches/{branch_id}/auth/domainsList domains in redirect_uri whitelistPOST/projects/{project_id}/branches/{branch_id}/auth/domainsAdd domain to redirect_uri whitelistDELETE/projects/{project_id}/branches/{branch_id}/auth/domainsDelete domain from redirect_uri whitelistPOST/projects/{project_id}/branches/{branch_id}/auth/usersCreate new auth userDELETE/projects/{project_id}/branches/{branch_id}/auth/users/{auth_user_id}Delete auth userGET/projects/{project_id}/branches/{branch_id}/auth/oauth_providersList OAuth providers for the branchPOST/projects/{project_id}/branches/{branch_id}/auth/oauth_providersAdd an OAuth providerPATCH/projects/{project_id}/branches/{branch_id}/auth/oauth_providers/{oauth_provider_id}Update OAuth providerDELETE/projects/{project_id}/branches/{branch_id}/auth/oauth_providers/{oauth_provider_id}Delete OAuth providerPOST/projects/{project_id}/branches/{branch_id}/auth/send_test_emailSend test email
GET/organizations/{org_id}Retrieve organization detailsGET/organizations/{org_id}/api_keysList organization API keysPOST/organizations/{org_id}/api_keysCreate organization API keyDELETE/organizations/{org_id}/api_keys/{key_id}Revoke organization API keyGET/organizations/{org_id}/membersList organization membersGET/organizations/{org_id}/members/{member_id}Retrieve organization member detailsPATCH/organizations/{org_id}/members/{member_id}Update role for organization memberDELETE/organizations/{org_id}/members/{member_id}Remove organization memberGET/organizations/{org_id}/invitationsList organization invitationsPOST/organizations/{org_id}/invitationsCreate organization invitationsPOST/organizations/{source_org_id}/projects/transferTransfer projects between organizationsGET/organizations/{org_id}/vpc/vpc_endpointsList VPC endpoints across all regionsGET/organizations/{org_id}/vpc/region/{region_id}/vpc_endpointsList VPC endpointsGET/organizations/{org_id}/vpc/region/{region_id}/vpc_endpoints/{vpc_endpoint_id}Retrieve VPC endpoint detailsPOST/organizations/{org_id}/vpc/region/{region_id}/vpc_endpoints/{vpc_endpoint_id}Assign or update VPC endpointDELETE/organizations/{org_id}/vpc/region/{region_id}/vpc_endpoints/{vpc_endpoint_id}Delete VPC endpointGET/organizations/{org_id}/billing/spending_limitRetrieve organization spending limitPUT/organizations/{org_id}/billing/spending_limitSet organization spending limitDELETE/organizations/{org_id}/billing/spending_limitRemove organization spending limit
Was this page helpful?