cURL
curl --request POST \ --url https://api.mesa.dev/api/v1/{org}/{repo}/branches \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "from": "<string>" } '
{ "name": "<string>", "head_oid": "<string>", "is_default": true }
Create a new branch from an existing ref
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1
^[0-9a-f]{40}$
Branch created