Skip to content
Console
On this page

sylphx notify app_passwords

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

The app_passwords commands of Sylphx Notify, as the CLI spells them: the same calls as the app_passwords API page, typed for the shell. Install, sign in and the grammar are on the CLI index.

get

Gets a app password.

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

CLI

Shell
sylphx notify app-passwords get orgs/acme/projects/shop/envs/production/mailboxes/mailbox/app_passwords/app-password

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mailboxes/mailbox/app_passwords/app-password · scope notify:read · effect read · Request, response and examples

list

Lists the app password 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 app-passwords list orgs/acme/projects/shop/envs/production/mailboxes/mailbox

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mailboxes/mailbox/app_passwords · 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 app password.

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

CLI

Shell
sylphx notify app-passwords create --parent orgs/acme/projects/shop/envs/production/mailboxes/mailbox --spec.label …

POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mailboxes/mailbox/app_passwords · 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.labelstringA device or client label. Required.
--spec.expire-timetimestampThe expiration time, if set.
--dry-runboolValidate and print the result without writing (validate_only).

delete

Deletes the app password.

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

CLI

Shell
sylphx notify app-passwords delete orgs/acme/projects/shop/envs/production/mailboxes/mailbox/app_passwords/app-password --yes

DELETE https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/mailboxes/mailbox/app_passwords/app-password · scope notify:write · effect destructive · Request, response and examples

Flags

FlagTypeWhat it does
--etagstringThe resource etag.
--dry-runboolValidate and print the result without writing (validate_only).
--yesboolDo not ask before this destructive call.