Resolve and persist instance_id for a CVM. Default behavior only backfills missing values.
cURL
curl --request PATCH \ --url https://cloud-api.phala.com/api/v1/cvms/{cvm_id}/instance-id \ --header 'Content-Type: application/json' \ --data ' { "overwrite": false, "dry_run": false } '
{ "cvm_id": 123, "identifier": "<string>", "status": "updated", "old_instance_id": "<string>", "new_instance_id": "<string>", "source": "none", "verified_with_gateway": false, "reason": "<string>" }
Overwrite existing instance_id when different
Preview changes without persisting
Successful Response
updated
unchanged
skipped
conflict
error
teepod_state
teepod_info
gateway
none
Was this page helpful?