Update a workspace variable
One step with Terraform. We can help you get access.
Get something done
Update a workspace variable
Use Terraform: its HCP Terraform Variables API lets you update a workspace variable in a single step (PATCH /workspaces/{workspace_id}/vars/{variable_id}). capabilities.work can help you get signed up and connected.
- How do I change an existing variable in a workspace?
- Can I edit a workspace variable's value or category?
Say it to your AI assistant
- Update variable {variable_id} in workspace {workspace_id} with {changes}.
- Change the value of workspace variable {variable_id} in {workspace_id}.
For your developer
PATCH /workspaces/{workspace_id}/vars/{variable_id} in HCP Terraform Variables API. Full spec on APIs.io.