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

# egulu apis update

PATCH /v1/projects/{project}/locations/{location}/apis/{api}

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

## API operation

[Apis_update](../../api/apigw/Apis_update.md): `PATCH /v1/projects/{project}/locations/{location}/apis/{api}` (apigw module)

## Arguments

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

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--hosts` | value | no | hosts: comma-separated, or @file with one item a line |
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--update-mask` | value | no | updateMask |
| `--validate-only` | value | no | validateOnly |

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