Skip to main content
POST
/
api
/
v1
/
vm
/
branch
/
by_commit
/
{commit_id}
cURL
curl --request POST \
  --url https://api.example.com/api/v1/vm/branch/by_commit/{commit_id} \
  --header 'Authorization: Bearer <token>'
{
  "vms": [
    {
      "vm_id": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

commit_id
string
required

The commit id to branch off

Query Parameters

count
integer<int32>

Number of VMs to branch (optional; default 1)

Required range: x >= 0

Response

Branch VM(s) created successfully

vms
object[]
required