Skip to main content
Neon Postgres Docs

Search documentation

Type to search this documentation.

Branch

These methods allow you to create and manage branches in your Neon project. For related information, see Manage branches.

POSTCreate anonymized branch/projects/{project_id}/branch_anonymizedGETList branches/projects/{project_id}/branchesPOSTCreate branch/projects/{project_id}/branchesGETRetrieve number of branches/projects/{project_id}/branches/countDELETEDelete branch/projects/{project_id}/branches/{branch_id}GETRetrieve branch details/projects/{project_id}/branches/{branch_id}PATCHUpdate branch/projects/{project_id}/branches/{branch_id}POSTStart anonymization/projects/{project_id}/branches/{branch_id}/anonymizeGETRetrieve anonymized branch status/projects/{project_id}/branches/{branch_id}/anonymized_statusGETCompare database schema/projects/{project_id}/branches/{branch_id}/compare_schemaGETList databases/projects/{project_id}/branches/{branch_id}/databasesPOSTCreate database/projects/{project_id}/branches/{branch_id}/databasesDELETEDelete database/projects/{project_id}/branches/{branch_id}/databases/{database_name}GETRetrieve database details/projects/{project_id}/branches/{branch_id}/databases/{database_name}PATCHUpdate database/projects/{project_id}/branches/{branch_id}/databases/{database_name}GETList branch endpoints/projects/{project_id}/branches/{branch_id}/endpointsPOSTFinalize branch restore from snapshot/projects/{project_id}/branches/{branch_id}/finalize_restoreGETRetrieve masking rules/projects/{project_id}/branches/{branch_id}/masking_rulesPATCHUpdate masking rules/projects/{project_id}/branches/{branch_id}/masking_rulesPOSTRestore branch to a historical state/projects/{project_id}/branches/{branch_id}/restoreGETList roles/projects/{project_id}/branches/{branch_id}/rolesPOSTCreate role/projects/{project_id}/branches/{branch_id}/rolesDELETEDelete role/projects/{project_id}/branches/{branch_id}/roles/{role_name}GETRetrieve role details/projects/{project_id}/branches/{branch_id}/roles/{role_name}POSTReset role password/projects/{project_id}/branches/{branch_id}/roles/{role_name}/reset_passwordGETRetrieve role password/projects/{project_id}/branches/{branch_id}/roles/{role_name}/reveal_passwordGETRetrieve database schema/projects/{project_id}/branches/{branch_id}/schemaPOSTSet branch as default/projects/{project_id}/branches/{branch_id}/set_as_default
Documentation menu