Skip to main content
photon account manages the identity you signed in as — your profile, avatar, OAuth connections, and service keys. None of it depends on your active project. 10DLC registrations are listed here but belong to the selected organization. The payment method and OAuth clients moved to photon org.

Service keys

Non-interactive credentials for CI.

OAuth connections

Scopes and the applications you have authorized.

Organizations

Members, OAuth clients, and the payment method.

10DLC registration

Brands and campaigns for A2P messaging.

Command overview

Browse the automatic command reference.

Profile

account view returns canonical data from Photon, selecting only documented fields:
photon whoami is the compact shortcut, with its own flat {accountId, email, name} contract. Use account view when you want the complete resource.
account edit needs at least one name change. Names are trimmed, bounded, and rejected when empty or when they contain control or format characters:
The API has no way to clear a first name, so only --clear-last-name exists.

Avatar

Upload accepts a regular JPEG, PNG, or WebP file up to 5 MiB, detected from the file’s signature rather than its extension:
The CLI requests a short-lived presigned form, uploads without a Photon authorization header, and commits only once storage accepts the file. Presigned URLs and form values are never printed. reset prompts on an interactive terminal and needs --force in scripts. Declining returns {"cancelled":true} and exits 0. Upload and reset are journaled. Before the commit step, an unresolved upload keeps a private copy of the validated image so a replay does not need the original file. See Recoverable operations.
Account deletion, phone verification, onboarding, account-level plans and invoices, 10DLC phone-number assignment, and messaging are deliberately outside this command surface.