Applies a provisioned compose file update. Requires compose_hash from provision endpoint. Restarts the CVM with new configuration.
cURL
curl --request PATCH \ --url https://cloud-api.phala.com/api/v1/cvms/{cvm_id}/compose_file \ --header 'Content-Type: application/json' \ --data ' { "compose_hash": "<string>", "encrypted_env": "<string>", "env_keys": [ "<string>" ], "update_env_vars": false } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Hash from provision response
New encrypted env blob (hex)
Allowed env var names
Update allowed_envs list
Update initiated
Was this page helpful?