Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Delete api key by id
NEON_DELETE_API_KEY_BY_IDDeletes a specific API key from the Neon platform. This endpoint should be used when you need to revoke access for a particular API key, such as when an employee leaves the organization or when you suspect the key has been compromised. The operation is irreversible, so use it with caution. Once deleted, any applications or services using this API key will lose access to Neon's API. This endpoint helps maintain the security of your Neon account by allowing you to manage and control API key access effectively.
Delete OAuth provider
NEON_DELETE_AUTH_OAUTH_PROVIDERDeletes an OAuth provider configuration from a specific branch in a Neon project. This removes the OAuth authentication integration for the specified provider (Google, GitHub, Microsoft, or Vercel) from the given branch. Use this action when you need to revoke OAuth access or clean up authentication configurations for a particular branch. Note: This operation is permanent and will affect all users authenticating through this provider on this branch. Neon Auth must be enabled on the branch before OAuth providers can be deleted.
Delete auth user
NEON_DELETE_AUTH_USERDeletes an authentication user from a specified branch within a Neon project. Use this endpoint to permanently remove user access from a particular branch. Important notes: - This operation is permanent and cannot be undone - Successful deletion returns a 204 No Content status - The deleted user will no longer be able to authenticate to the specified branch - This operation only affects the specified branch, not other branches in the project
Delete branch auth domains
NEON_DELETE_BRANCH_AUTH_DOMAINSDeletes domains from the redirect_uri whitelist for a specific branch's authentication configuration. Use when you need to revoke access for specific domains in your Neon authentication setup.
Delete branch data API
NEON_DELETE_BRANCH_DATA_APIDeletes the Neon Data API for a specified branch and database. Use this when you need to remove Data API access for a specific database within a branch.
Delete database from branch
NEON_DELETE_DATABASE_FROM_BRANCHPermanently deletes a database and all of its data from the specified project branch. Databases on other branches are unaffected.
Delete organization api key
NEON_DELETE_ORGANIZATION_API_KEYDeletes a specific API key associated with an organization in the Neon platform. This endpoint is used to revoke access for a particular API key, enhancing security by removing unused or compromised keys. It should be used when an API key is no longer needed, when rotating keys for security purposes, or when an API key may have been exposed. Once deleted, the API key cannot be recovered, and any systems using this key will lose access to the Neon API. Ensure you have a backup or replacement key in place before deletion to avoid service interruptions.
Delete organization member
NEON_DELETE_ORGANIZATION_MEMBERRemoves a specific member from a Neon organization. This action permanently revokes the member's access to all organization resources. Use this when an employee leaves the company, changes roles, or their access needs to be revoked. Important notes: - This action cannot be undone; re-adding requires a new invitation - You cannot delete the last admin member of an organization - The member_id must be a valid UUID (not the user's email) - Requires admin permissions on the organization Use fetch_organization_members_by_id first to get valid member IDs.
Delete project branch by id
NEON_DELETE_PROJECT_BRANCH_BY_IDDeletes a branch and idles its compute endpoints, breaking existing client connections. By default, the branch can be recovered within seven days; set hard_delete to true for immediate permanent deletion. A root or default branch, a branch with children, or a project's only branch cannot be deleted.
Delete project branch role
NEON_DELETE_PROJECT_BRANCH_ROLEDeletes a PostgreSQL role from a specific branch within a Neon project. This permanently removes the role and its associated database permissions. Use this endpoint to: - Remove obsolete user accounts from a database branch - Clean up roles after application decommissioning - Revoke access for former team members Important notes: - This operation is permanent and cannot be undone - The deletion triggers an async 'apply_config' operation on the compute endpoint - If the role doesn't exist, returns 204 No Content (idempotent behavior) - If the role exists and is deleted, returns 200 OK with role and operation details - You cannot delete the default owner role created with the database
Delete project by id
NEON_DELETE_PROJECT_BY_IDDeletes a Neon PostgreSQL project and all its associated resources. Deleted projects can be recovered within seven days using Neon's recover-project endpoint. After that recovery window, the project and its endpoints, branches, databases, users, and configurations are permanently removed. Use this action when: - A project is no longer needed - Cleaning up test/development resources - Removing unused projects to free up quota Returns the details of the deleted project upon successful deletion. Returns 404 if the project does not exist or is not accessible.
Delete project endpoint
NEON_DELETE_PROJECT_ENDPOINTDeletes a specific endpoint within a Neon project. This operation permanently removes the endpoint and all associated resources, such as configurations and access points. Use this endpoint when you need to decommission or clean up unused endpoints in your project. It's important to note that this action is irreversible, so ensure you have backed up any necessary data or configurations before proceeding. This endpoint should be used with caution, as it will immediately terminate access to the specified endpoint and may impact any systems or applications relying on it.
Delete project jwks by id
NEON_DELETE_PROJECT_JWKS_BY_IDPermanently deletes a JWKS configuration from a Neon project. JWT authentication that depends on the removed configuration may stop working.
Delete project permission
NEON_DELETE_PROJECT_PERMISSIONRevokes project access for the user associated with a permission ID. Obtain the permission ID by listing project access. Returns the revoked permission directly, including its grant and revocation timestamps.
Delete project snapshot
NEON_DELETE_PROJECT_SNAPSHOTDeletes a specific snapshot for a project in Neon. Use when you need to remove an old or unnecessary snapshot to free up storage or clean up resources. **Note**: This endpoint is currently in Beta.
Delete vpc endpoint by ids
NEON_DELETE_VPC_ENDPOINT_BY_IDSPermanently deletes a VPC endpoint from a Neon organization in a specified AWS region. This removes the private network connection between your AWS VPC and Neon's service. IMPORTANT: This operation is irreversible. Once a VPC endpoint is deleted from a Neon organization, it cannot be re-added to the same organization. Use with caution. Requirements: - Organization must be on the Scale plan (VPC/Private Networking is not available on Free plan) - Only AWS regions are supported (not Azure) - The VPC endpoint must exist in the specified organization and region This action is useful when decommissioning private network connections or cleaning up unused VPC endpoints. Deleting a VPC endpoint will disrupt any applications relying on private connectivity through that endpoint.
Delete vpc endpoint by project id
NEON_DELETE_VPC_ENDPOINT_BY_PROJECT_IDRemoves a VPC endpoint restriction from a Neon project. It does not delete or unassign the VPC endpoint from its organization. Connections through that VPC endpoint are no longer permitted by this project-level restriction.
Disable branches auth
NEON_DISABLE_BRANCHES_AUTHDisables Neon Auth for a specified project branch, removing its connection to the authentication provider. The optional delete_data setting requests deletion of the branch database's neon_auth schema and associated authentication data.
Finalize branch restore
NEON_FINALIZE_BRANCH_RESTOREFinalizes the restore operation for a branch created from a snapshot. This updates the branch to function as the original branch it replaced by: reassigning computes from the original branch (which restarts them), renaming the restored branch to the original's name, and renaming the original branch. Only applies to branches created using the restoreSnapshot endpoint.
Get account consumption history
NEON_GET_ACCOUNT_CONSUMPTION_HISTORYRetrieves selected consumption metrics for projects in a Neon organization, grouped by project, billing period, and the requested granularity. Omit project_ids to include all projects, and pass a returned cursor unchanged to retrieve the next page. This request does not wake project computes.