Unified PATCH endpoint for CVM updates. Only fields present in the request body are applied. Handles resource resize, compose configuration, visibility, environment, and OS image updates. For contract-owned KMS, compose-hash-affecting changes require two-phase flow with on-chain hash registration.
Compose hash from Phase 1 response (Phase 2 only)
Transaction hash proving on-chain registration (Phase 2 only)
When 'true', generate a commit token for multisig workflows instead of expecting immediate on-chain registration
PATCH request body — all fields optional, only set fields are applied.
Docker Compose YAML content
Shell script executed before containers start
Allowed environment variable names (env_keys)
Expose container logs publicly
Expose system info publicly
Expose TCB attestation info publicly
Encrypted environment variables as hex string
User configuration string
GPU configuration
Number of vCPUs
Memory in MB
Disk size in MB
OS image name or slug from available-os-images
Timeout in seconds for graceful shutdown. null means no timeout.
10 <= x <= 1200When true, falls back to hard stop if graceful shutdown times out. Use for zombie CVMs that are unresponsive to shutdown signals.
Update initiated, track via correlation_id