Skip to main content
PATCH
/
api
/
v1
/
cvms
/
{cvm_id}
/
os-image
Update OS image
curl --request PATCH \
  --url https://cloud-api.phala.com/api/v1/cvms/{cvm_id}/os-image \
  --header 'Content-Type: application/json' \
  --data '
{
  "os_image_name": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Path Parameters

cvm_id
string
required

Body

application/json
os_image_name
string
required

Image name or slug from available-os-images

Response

Upgrade initiated, returns correlation_id