Skip to main content
POST
Check out a branch, tag, or commit

Authorizations

Authorization
string
header
required

API key passed as Bearer token

Path Parameters

id
string
required

Machine ID (e.g. mch_a1b2c3d4)

Body

application/json
path
string
required
ref
string
required

Branch, tag, or commit-ish to check out.

create
boolean
default:false

Create the branch (git checkout -b).

Response

200 - application/json

Checkout result

ok
boolean
required