Change firmware settings, such as Secure Boot or TPM, for a specific virtual server (VM). This may be necessary for installing certain operating systems or enhancing security. Returns a `requestId` to track the action and `vmid` for future VM-specific calls.
vmid integer · min: 1 required Example Unique vmid identifier
Accept Example Content-Type Example mode string · enum required incus legacy storage string required success boolean timestamp string requestId string data object https://cloud.hostup.se/api/vm/{vmid}/firmware curl -X PUT "https://cloud.hostup.se/api/vm/10276/firmware" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"mode": "incus",
"storage": "string"
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"mode": "string",
"message": "string",
"firmware": {
"vmid": "string",
"node": "string",
"status": "string",
"bios": "string",
"machine": "string",
"efi": {
"raw": "string",
"volume": "string",
"type": "string",
"size": "string",
"preEnrolledKeys": "string"
},
"tpm": {
"raw": "string",
"volume": "string",
"size": "string",
"version": "string"
},
"secureBootReady": true,
"tpmReady": true
}
}
} {
"mode": "incus",
"storage": "string"
}