Delete a variable from an IaC workspace
One step with Harness. We can help you get access.
Get something done
Delete a variable from an IaC workspace
with Harness
Works with AI assistants
Use Harness: its Harness Variables API lets you delete a variable from an IaC workspace in a single step (DELETE /iacm/api/orgs/{org}/projects/{project}/workspaces/{workspace}/variables/{kind}/{key}). Harness also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- Can I remove a variable from an infrastructure workspace?
- Will deleting a workspace variable affect the next plan or apply?
Say it to your AI assistant
- Delete the {kind} variable {key} from workspace {workspace} in {org}/{project}.
- Remove variable {key} ({kind}) from workspace {workspace}.
For your developer
DELETE /iacm/api/orgs/{org}/projects/{project}/workspaces/{workspace}/variables/{kind}/{key} in Harness Variables API. Full spec on APIs.io.