[egulu CLI reference](../index.md) / [egulu ai-models](index.md)

# egulu ai-models update

PATCH /v1/projects/{project}/locations/{location}/models/{aiModel}

```sh
egulu ai-models update <NAME> [options]
```

## API operation

[AiModels_update](../../api/ai/AiModels_update.md): `PATCH /v1/projects/{project}/locations/{location}/models/{aiModel}` (ai module)

## Arguments

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

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--artefact-ref` | value | no | artefactRef |
| `--format` | value | no | format |
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--spdx-licence` | value | no | spdxLicence |
| `--update-mask` | value | no | updateMask |
| `--validate-only` | value | no | validateOnly |

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