post https://console.neon.tech/api/v2/projects//branches
Creates a branch in the specified project.
You can obtain a project_id
by listing the projects for your Neon account.
This method does not require a request body, but you can specify one to create an endpoint for the branch or to select a non-default parent branch.
The default behavior is to create a branch from the project's root branch (main
) with no endpoint, and the branch name is auto-generated.
For related information, see Manage branches.