capabilities.work

Delete a Terraform state

One step with GitLab. We can help you get access.

Get something done

Delete a Terraform state

with GitLab
Works with AI assistants

Use GitLab: its GitLab REST Terraform API lets you delete a Terraform state in a single step (DELETE /api/v4/projects/{id}/terraform/state/{name}). GitLab 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.

  • How do I delete a Terraform state from a project?
  • Can I remove a whole Terraform state by name?
Say it to your AI assistant
  • Delete Terraform state {name} from project {id}.
  • Remove the {name} Terraform state in {id}.
For your developer

DELETE /api/v4/projects/{id}/terraform/state/{name} in GitLab REST Terraform API. Full spec on APIs.io.