---
title: "calicoctl ipam release"
description: "Reference for the calicoctl IPAM release command in Calico Open Source, used to release a leaked or stale IP address back to the pool."
product: "Calico Open Source"
version: "3.33 (latest)"
section: "Reference"
canonical_url: "https://docs.tigera.io/calico/latest/reference/calicoctl/ipam/release"
---

# calicoctl ipam release

This section describes the `calicoctl ipam release` command.

Read the [calicoctl overview](https://docs.tigera.io/calico/latest/reference/calicoctl/overview.md) for a full list of calicoctl commands.

## Displaying the help text for 'calicoctl ipam release' command

Run `calicoctl ipam release --help` to display the following help menu for the command.

```text
Release one or more Calico-assigned IP addresses. Release a single address
with --ip, or release the leaked addresses identified in a report from ipam
check.

Usage:
  calicoctl ipam release [flags]

Examples:
  # Release a single IP.
  calicoctl ipam release --ip 10.0.0.1

  # Release leaked IPs from a check report.
  calicoctl ipam release --from-report report.json

Flags:
  -c, --config string             Path to the file containing connection configuration in YAML or JSON format. (default "/etc/calico/calicoctl.cfg")
      --force                     Force release of leaked addresses.
      --from-report stringArray   Release all leaked addresses from the report.
  -h, --help                      help for release
      --ip string                 IP address to release.

Global Flags:
      --allow-version-mismatch   Allow client and cluster versions mismatch
      --context string           The name of the kubeconfig context to use
  -l, --log-level string         Set the log level (panic, fatal, error, warn, info, debug) (default "panic")
```

### Examples

```bash
calicoctl ipam release --ip=192.168.1.2
```

```bash
calicoctl ipam release --from-report=./report.json
```

### General options

```text
  -c, --config string   Path to the file containing connection configuration in YAML or JSON format. (default "/etc/calico/calicoctl.cfg")
```

## See also

- [Installing calicoctl](https://docs.tigera.io/calico/latest/operations/calicoctl/install.md)
