Skip to content
Console
On this page

sylphx notify masked_aliases

Every sylphx notify masked_aliases command: its argument, its flags and a run line.

The masked_aliases commands of Sylphx Notify, as the CLI spells them: the same calls as the masked_aliases API page, typed for the shell. Install, sign in and the grammar 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

Shell
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

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

Shell
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

Flags

FlagTypeWhat it does
--page-sizeintThe requested page size.
--page-tokenstringThe 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

Shell
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

Flags

FlagTypeWhat it does
--parentstringThe parent to create in; defaults to the linked project or the key's scope.
--meta.labelskey=valueCaller-writable, indexed labels (AIP-122 label rules). Repeat the flag for each value.
--meta.annotationskey=valueCaller-writable, unindexed annotations. Repeat the flag for each value.
--meta.display-namestringCaller-writable human-readable name.
--spec.addressstringAn unused address on a receiving domain in this environment. Required.
--spec.mailboxstringThe hosted mailbox that receives the alias's mail. Required.
--spec.stateenumDefaults to ACTIVE on creation. REVOKED never transitions again. One of active, paused, revoked.
--spec.reply-modeenumDefaults to DISABLED. Does not grant outbound permission. One of disabled, reverse_alias.
--dry-runboolValidate 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

Shell
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

Flags

FlagTypeWhat it does
--meta.labelskey=valueCaller-writable, indexed labels (AIP-122 label rules). Repeat the flag for each value.
--meta.annotationskey=valueCaller-writable, unindexed annotations. Repeat the flag for each value.
--meta.display-namestringCaller-writable human-readable name.
--spec.stateenumDefaults to ACTIVE on creation. REVOKED never transitions again. One of active, paused, revoked.
--spec.reply-modeenumDefaults to DISABLED. Does not grant outbound permission. One of disabled, reverse_alias.
--dry-runboolValidate and print the result without writing (validate_only).