[egulu CLI reference](../index.md) / [egulu mail-aliases](index.md)

# egulu mail-aliases update

PATCH /v1/projects/{project}/locations/{location}/customDomains/{customDomain}/mailAliases/{mailAlias}

```sh
egulu mail-aliases update <NAME> [options]
```

## API operation

[MailAliases_update](../../api/mail/MailAliases_update.md): `PATCH /v1/projects/{project}/locations/{location}/customDomains/{customDomain}/mailAliases/{mailAlias}` (mail module)

## Arguments

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

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--allow-missing` | value | no | allowMissing |
| `--custom-domain` | value | yes | customDomain |
| `--etag` | value | no | etag |
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--targets` | value | no | targets: comma-separated, or @file with one item a line |
| `--update-mask` | value | no | updateMask |
| `--validate-only` | value | no | validateOnly |

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