Delete environment variable
render_delete_env_varDelete an environment variable from a service by key. Applies only to variables set directly on the service, not linked environment groups.
Instructions
Delete environment variable. Delete a particular environment variable from a particular service. This only applies to environment variables set directly on the service, not to environment variables in a linked environment group. Calls DELETE /services/{serviceId}/env-vars/{envVarKey} on the Render Public API.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"envVarKey": "<envVarKey>",
"serviceId": "<serviceId>"
},
"name": "render_delete_env_var"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| envVarKey | Yes | The name of the environment variable | |
| serviceId | Yes | The ID of the service |