Skip to main content
Glama

terraform-cloud-mcp

unassign_variable_set_from_workspaces

Remove a variable set from specified Terraform Cloud workspaces to disable access to the variables within those workspaces. Input: varset_id, workspace_ids.

Instructions

Remove a variable set from one or more workspaces.

Removes the variable set assignment from the specified workspaces. The variables will no longer be available in those workspaces.

API endpoint: DELETE /varsets/{varset_id}/relationships/workspaces

Args: varset_id: The ID of the variable set (format: "varset-xxxxxxxx") workspace_ids: List of workspace IDs (format: ["ws-xxxxxxxx", ...])

Returns: Empty response with HTTP 204 status code if successful

See: docs/tools/variables.md#unassign-variable-set-from-workspaces for reference documentation

Input Schema

NameRequiredDescriptionDefault
varset_idYes
workspace_idsYes

Input Schema (JSON Schema)

{ "properties": { "varset_id": { "title": "Varset Id", "type": "string" }, "workspace_ids": { "items": { "type": "string" }, "title": "Workspace Ids", "type": "array" } }, "required": [ "varset_id", "workspace_ids" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/severity1/terraform-cloud-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server