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.
For more information, see Manage branches.

Path Params
string
required
^[a-z0-9-]{1,60}$

The Neon project ID

string
required
^[a-z0-9-]{1,60}$

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