Skip to main content
Glama

terraform-cloud-mcp

delete_workspace

Permanently delete a Terraform Cloud workspace and all associated resources, including state versions, run history, and configurations. Use with caution as this action is irreversible and destructive. Ideal for cleanup operations after confirming resources are no longer needed.

Instructions

Delete a workspace.

Permanently deletes a Terraform Cloud workspace and all its resources including state versions, run history, and configuration versions. This action cannot be undone. WARNING: This is a destructive operation. For workspaces that have active resources, consider running a destroy plan first or use safe_delete_workspace instead. API endpoint: DELETE /organizations/{organization}/workspaces/{workspace_name} Args: organization: The name of the organization that owns the workspace workspace_name: The name of the workspace to delete Returns: Success message with no content (HTTP 204) if successful Error response with explanation if the workspace cannot be deleted See: docs/tools/workspace_tools.md for usage examples

Input Schema

NameRequiredDescriptionDefault
organizationYes
workspace_nameYes

Input Schema (JSON Schema)

{ "properties": { "organization": { "title": "Organization", "type": "string" }, "workspace_name": { "title": "Workspace Name", "type": "string" } }, "required": [ "organization", "workspace_name" ], "title": "delete_workspaceArguments", "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