<!-- WARNING: This documentation is auto-generated from the confluentinc/cli repository and should not be manually edited. -->

<a id="confluent-iam-ip-group-update"></a>

# confluent iam ip-group update

## Description

Update an IP group.

```none
confluent iam ip-group update <id> [flags]
```

## Flags

```none
    --name string                  Updated name of the IP group.
    --add-cidr-blocks strings      A comma-separated list of CIDR blocks to add.
    --remove-cidr-blocks strings   A comma-separated list of CIDR blocks to remove.
    --context string               CLI context name.
-o, --output string                Specify the output format as "human", "json", or "yaml". (default "human")
```

## Global Flags

```none
-h, --help            Show help for this command.
    --unsafe-trace    Equivalent to -vvvv, but also log HTTP requests and responses which might contain plaintext secrets.
-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).
```

## Examples

Update the name and add a CIDR block to IP group “ipg-12345”:

```none
confluent iam ip-group update ipg-12345 --name "New Group Name" --add-cidr-blocks 123.234.0.0/16
```

## See Also

* [confluent iam ip-group](index.md#confluent-iam-ip-group) - Manage IP groups.
