Endpoint
Authorization
Include your API key in the request header:Path Parameters
The unique identifier of your application. You can find this in your Virtus Cloud dashboard URL.
Body Parameters
An object whose keys are the environment variable names and whose values are the corresponding values you want to set or update. For example:
{ "DATABASE_URL": "postgres://...", "PORT": "3000" }.Response
Indicates the outcome of the request. Returns
"success" when the operation completes without errors.A flat object containing the complete current set of environment variables for the application after the merge — including both the variables you just set and any that were already present.
Examples
Response Example
Variables not included in your request body are preserved. Use the Overwrite endpoint if you want to replace all variables at once.