Modify virtual server firmware settings

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.

Path Parameters

vmid integer · min: 1 required Example

Unique vmid identifier

Headers

Accept Example
Content-Type Example

Body

required
application/json
mode string · enum required
incus
legacy
storage string required

Responses

200
success boolean
timestamp string
requestId string
data object
PUT https://cloud.hostup.se/api/vm/{vmid}/firmware
For AI assistants
cURL
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"
  }'
Response
{
  "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
    }
  }
}
Request Body
{
  "mode": "incus",
  "storage": "string"
}