Delete API Environment Variable
unfour.api.delete_environment_variableDelete an API environment variable by environment ID and key. Guarded policy requires confirmation, while read-only policy blocks deletion.
Instructions
Deletes one API environment variable by environmentId and key through the command bus. Guarded policy requires confirmation; read-only policy blocks deletion.
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": {
"environmentId": "<environmentId>",
"key": "<key>"
},
"name": "unfour.api.delete_environment_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| confirm | No | ||
| workspaceId | No | ||
| environmentId | Yes | ||
| confirmationText | No | ||
| confirmation_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| source | Yes | ||
| deleted | Yes | ||
| environmentId | Yes |