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.
The payment method and OAuth clients moved to
photon org.
Service keys
Non-interactive credentials that act as your account.
OAuth connections
Scopes and the applications you have authorized.
Organizations
Members, OAuth clients, and the payment method.
Command overview
Profile
account view prints the account as Photon returns it:
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:
--clear-last-name exists.
account edit, account avatar upload and account avatar reset print the
account Photon returns after the change, the same way account view does.
Avatar
Upload accepts a regular JPEG, PNG, or WebP file up to 5 MiB, detected from the file’s signature rather than its extension:reset prompts on an interactive terminal and needs --yes in scripts.
Declining prints Cancelled. on stderr and exits 1.
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, and messaging are deliberately outside this command surface.