decommission_host
Fully decommission a host by removing its IPAM host, DNS records, and IP reservations. Use dry-run mode to preview deletions, or execute to complete the removal.
Instructions
Decommission a host: removes IPAM host, DNS records, and releases IP addresses. USE THIS to fully remove a host. For partial cleanup use manage_dns_record() or manage_ip_reservation().
IMPORTANT: Runs in dry_run mode by default — shows what WOULD be deleted without actually deleting. Set dry_run=False to execute the actual decommission.
Args: identifier: Hostname, FQDN, or IP address to decommission dry_run: If True (default), only shows what would be deleted. Set to False to actually delete.
Returns: List of resources that were (or would be) deleted
Examples: - decommission_host(identifier="web-prod-01") → shows what would be deleted - decommission_host(identifier="web-prod-01", dry_run=False) → actually deletes everything - decommission_host(identifier="10.20.3.50") → finds and decommissions host at this IP
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| identifier | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||