Create a branch

POST https://{{base_url}}/v3/stacks/branches

The Create a branch request creates a new branch in a particular stack of your organization.

To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken. 
Read more about it in Authentication.


For more information, refer to the Create a branch API Reference document

Request Body

{"branch"=>{"uid"=>"release", "source"=>"main"}}

HEADERS

KeyDatatypeRequiredDescription
api_keystringEnter the API key of the stack.
authtokenstringEnter your auth token.
Content-TypestringEnter "application/json" to pass a Request body.