---
# @generated by sylphx-gen. Do not edit.
title: "sylphx notify masked_aliases"
description: "The sylphx notify masked_aliases commands of Sylphx Notify: every verb, with its argument, its flags and a run line."
type: reference
product: email
summary: "Every sylphx notify masked_aliases command: its argument, its flags and a run line."
updated: 2026-09-28
nav: false
---

The `masked_aliases` commands of Sylphx Notify, as the CLI spells them: the same
calls as [the `masked_aliases` API page](/docs/api/masked_aliases), typed for the
shell. [Install, sign in and the grammar](/docs/cli) are on the CLI index.

## get

Gets a masked alias.

**`NAME`** — the resource's name; a bare id is enough below the linked
project.

**CLI**

```bash
sylphx notify masked-aliases get orgs/acme/projects/shop/envs/production/masked_aliases/masked-alias
```

`GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/masked_aliases/masked-alias` · scope `notify:read` · effect `read` · [Request, response and examples](/docs/api/masked_aliases/get)

## list

Lists the masked alias collection.

**`PARENT`** — optional: the CLI fills it from the linked project or the
key's scope when it is left out.

**CLI**

```bash
sylphx notify masked-aliases list orgs/acme/projects/shop/envs/production
```

`GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/masked_aliases` · scope `notify:read` · effect `read` · [Request, response and examples](/docs/api/masked_aliases/list)

**Flags**

| Flag | Type | What it does |
| --- | --- | --- |
| `--page-size` | `int` | The requested page size. |
| `--page-token` | `string` | The token returned by a previous call. |

## create

Creates a masked alias.

**`ID`** — The id segment of the new Resource's name; the server assigns one when omitted.

**CLI**

```bash
sylphx notify masked-aliases create --parent orgs/acme/projects/shop/envs/production --spec.address … --spec.mailbox …
```

`POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/masked_aliases` · scope `notify:write` · effect `write` · [Request, response and examples](/docs/api/masked_aliases/create)

**Flags**

| Flag | Type | What it does |
| --- | --- | --- |
| `--parent` | `string` | The parent to create in; defaults to the linked project or the key's scope. |
| `--meta.labels` | `key=value` | Caller-writable, indexed labels (AIP-122 label rules). Repeat the flag for each value. |
| `--meta.annotations` | `key=value` | Caller-writable, unindexed annotations. Repeat the flag for each value. |
| `--meta.display-name` | `string` | Caller-writable human-readable name. |
| `--spec.address` | `string` | An unused address on a receiving domain in this environment. Required. |
| `--spec.mailbox` | `string` | The hosted mailbox that receives the alias's mail. Required. |
| `--spec.state` | `enum` | Defaults to ACTIVE on creation. REVOKED never transitions again. One of `active`, `paused`, `revoked`. |
| `--spec.reply-mode` | `enum` | Defaults to DISABLED. Does not grant outbound permission. One of `disabled`, `reverse_alias`. |
| `--dry-run` | `bool` | Validate and print the result without writing (validate_only). |

## update

Updates a masked alias.

**`NAME`** — the resource's name; a bare id is enough below the linked
project.

**CLI**

```bash
sylphx notify masked-aliases update orgs/acme/projects/shop/envs/production/masked_aliases/masked-alias
```

`PATCH https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/masked_aliases/masked-alias` · scope `notify:write` · effect `write` · [Request, response and examples](/docs/api/masked_aliases/update)

**Flags**

| Flag | Type | What it does |
| --- | --- | --- |
| `--meta.labels` | `key=value` | Caller-writable, indexed labels (AIP-122 label rules). Repeat the flag for each value. |
| `--meta.annotations` | `key=value` | Caller-writable, unindexed annotations. Repeat the flag for each value. |
| `--meta.display-name` | `string` | Caller-writable human-readable name. |
| `--spec.state` | `enum` | Defaults to ACTIVE on creation. REVOKED never transitions again. One of `active`, `paused`, `revoked`. |
| `--spec.reply-mode` | `enum` | Defaults to DISABLED. Does not grant outbound permission. One of `disabled`, `reverse_alias`. |
| `--dry-run` | `bool` | Validate and print the result without writing (validate_only). |
