Clone a git repository into the machine
Git
Clone a git repository into the machine
POST
Clone a git repository into the machine
Authorizations
API key passed as Bearer token
Path Parameters
Machine ID (e.g. mch_a1b2c3d4)
Body
application/json
Remote URL. Must not embed credentials; use auth instead.
Destination directory for the working tree.
Required range:
x >= 1Per-operation git credentials. Materialised by the guest agent into an op-lifetime scratch path and removed when the operation completes; never persisted to durable guest state by these endpoints.
Response
200 - application/json
Repository cloned