[egulu CLI reference](../index.md) / [egulu subnets](index.md)

# egulu subnets update

PATCH /v1/projects/{project}/locations/{location}/subnets/{subnet}

```sh
egulu subnets update <NAME> [options]
```

## API operation

[Subnets_update](../../api/network/Subnets_update.md): `PATCH /v1/projects/{project}/locations/{location}/subnets/{subnet}` (network module)

## Arguments

| Name | Required | Description |
|---|---|---|
| `NAME` | yes | the subnet |

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--ipv4-cidr` | value | no | ipv4Cidr |
| `--location` | value | yes | location |
| `--network` | value | no | network |
| `--project` | value | yes | project |
| `--update-mask` | value | no | updateMask |

The [global options](../index.md) apply too.
