API ReferenceVm
Create_snapshot
Create a snapshot by creating a temporary VM, starting it, snapshotting it, then deleting the VM.
Request Body
application/json
name?string|null
template*
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.freestyle.sh/v1/vms/snapshots" \ -H "Content-Type: application/json" \ -d '{ "template": {} }'{
"snapshotId": "string"
}{
"error": "string",
"message": "string"
}{
"error": "string",
"message": "string"
}{
"error": "string",
"message": "string"
}