veryfront__update_environment_variable

Change the value or the key of one environment variable. Requires project.env_vars.write.

Risk: mutating.

Arguments

NameTypeRequiredDescription
project_referencestringProject ID or slug
environment_idstringYesEnvironment ID containing the variable.
keystringYesCurrent variable name
new_keystringNew variable name; a name that is taken is refused as a conflict
valuestringReplacement value. It is never returned.

Call it

JSON
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__update_environment_variable",    "arguments": {      "environment_id": "<environment_id>",      "key": "<key>"    }  }}