update_environment_variables
Modify environment variables by adding, updating, or removing key-value pairs for API testing and development workflows. Supports merge or replace operations to manage configuration settings.
Instructions
Update environment variables (add/update/remove variables)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environmentId | Yes | Environment ID to update variables for | |
| variables | Yes | Variables object with key-value pairs (JSON string, object, or comma-separated key=value pairs) | |
| operation | No | Operation type: "merge" (default) to combine with existing, "replace" to overwrite all | merge |
Input Schema (JSON Schema)
{
"properties": {
"environmentId": {
"description": "Environment ID to update variables for",
"type": "string"
},
"operation": {
"default": "merge",
"description": "Operation type: \"merge\" (default) to combine with existing, \"replace\" to overwrite all",
"enum": [
"merge",
"replace"
],
"type": "string"
},
"variables": {
"description": "Variables object with key-value pairs (JSON string, object, or comma-separated key=value pairs)",
"type": "string"
}
},
"required": [
"environmentId",
"variables"
],
"type": "object"
}