Add or update environment variable
render_update_env_varUpdate an environment variable for a Render service. Specify the service ID, variable key, and value or choose to generate one.
Instructions
Add or update environment variable. Add or update a particular environment variable for a particular service. This only applies to environment variables set directly on the service, not to environment variables in a linked environment group. Calls PUT /services/{serviceId}/env-vars/{envVarKey} on the Render Public API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body. | |
| envVarKey | Yes | The name of the environment variable | |
| serviceId | Yes | The ID of the service |