CVMs

Upgrade pre-launch script to the latest official version

Changed on

One-click upgrade that replaces the pre-launch script with the latest official version maintained by Phala and triggers the standard update workflow. Skips anti-fraud screening because the official script is trusted. For contract-owned KMS, the same two-phase verification flow as PATCH /pre-launch-script applies.

post/api/v1/cvms/{cvm_id}/pre-launch-script/upgrade-to-latest-official

Request

Path parameters

cvm_idstring required

Headers

X-Compose-Hashstring nullable

Compose hash from Phase 1 response

X-Transaction-Hashstring nullable

Transaction hash proving on-chain registration

Response

Upgrade initiated, track via correlation_id

unknown required

Changes