Browse/Neon/Create a Database Branch
Create a Database Branch
Neon
$19 · Pro
Create a new branch of a Neon Postgres database via the API.
create-branch.ts
const response = await fetch(
`https://console.neon.tech/api/v2/projects/${NEON_PROJECT_ID}/branches`,
Unlock the full snippet
This is a Pro snippet — get all-access for $19, or unlock just this one snippet for $1.