Branch promotion
Demote a branch
Demotes a branch from production to development
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, demote_branches
OAuth Scopes
| Resource | Scopes |
|---|---|
| Organization | demote_branches |
| Database | demote_branches |
POST
Demote a branch
Authorizations
Path Parameters
Body
application/json
Response
Returns a development branch

