Database branches
Promote a branch
Promotes a branch from development to production
Authorization
A service token or OAuth token must have at least one of the following access or scopes in order to use this API endpoint:
Service Token Accesses connect_production_branch, promote_branches
OAuth Scopes
| Resource | Scopes |
|---|---|
| Organization | promote_branches |
| Database | promote_branches |
post/organizations/{organization}/databases/{database}/branches/{branch}/promote
Path parameters
organizationstring required
The name of the organization the branch belongs to
databasestring required
The name of the database the branch belongs to
branchstring required
The name of the branch
Response
Returns a production branch