CVMs
Update environment variables
Updates encrypted environment variables. If env_keys changes for contract-owned KMS, requires two-phase flow with on-chain hash registration.
patch/api/v1/cvms/{cvm_id}/envs
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
Request body
Response
Update initiated, returns correlation_id and allowed_envs_changed flag
unknown required
Changes
No recorded changes to this operation across all 3 revisions of this API.