Upgrades the CVM to a different OS image. Shuts down, updates, and restarts. Takes several minutes. Track progress via correlation_id.
cURL
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>" } ] }
Image name or slug from available-os-images
Upgrade initiated, returns correlation_id
Was this page helpful?