capabilities.work

Delete a group from an Ansible inventory

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

Get something done

Delete a group from an Ansible inventory

with Harness
Works with AI assistants

Use Harness: its Harness Ansible API lets you delete a group from an Ansible inventory in a single step (DELETE /iacm/api/orgs/{org}/projects/{project}/ansible/inventory/{inventory_identifier}/groups/{identifier}). 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.

  • How do I remove a host group from an inventory?
  • Can I delete one group without deleting the whole inventory?
Say it to your AI assistant
  • Delete group {identifier} from inventory {inventory} in {org}/{project}.
  • Remove host group {identifier} from inventory {inventory} in project {project} of org {org}.
For your developer

DELETE /iacm/api/orgs/{org}/projects/{project}/ansible/inventory/{inventory_identifier}/groups/{identifier} in Harness Ansible API. Full spec on APIs.io.