CVMs
Update Docker Compose file
Replaces the docker-compose.yml and restarts the CVM. For contract-owned KMS, requires two-phase flow with on-chain hash registration.
patch/api/v1/cvms/{cvm_id}/docker-compose
Request
- Base URLhttps://cloud-api.phala.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Request body multipart/form-data
Response
Update initiated, track via correlation_id
unknown required
Changes
No recorded changes to this operation across all 3 revisions of this API.