Set branch as default

Sets the specified branch as the project's default branch. The default designation is automatically removed from the previous default branch. You can obtain a project_id by listing the projects for your Neon account. You can obtain the branch_id by listing the project's branches. For more information, see Manage branches.

Path Params
string
required

The Neon project ID

string
required

The branch ID

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json