Skip to main content
Projects are the top-level container in Photon. Each project has its own Spectrum configuration, users, lines, and billing subscription.

List projects

Aliases: project ls, projects list.

Show project details

Defaults to $PHOTON_PROJECT_ID if no ID is given. Aliases: projects get.

Create a project

Without flags, the CLI walks you through an interactive prompt. You can also pass flags directly:
Aliases: projects new.

Update a project

Fetches the current project, overlays your changes, and patches. Defaults to $PHOTON_PROJECT_ID if no ID is given. Aliases: projects edit, projects set.

Delete a project

This is a permanent, irreversible operation. The CLI asks for confirmation unless you pass -y.
Aliases: projects rm, projects remove.

Rotate the Spectrum API secret

Generates a new Spectrum API secret for the project. The old secret stops working immediately. Aliases: projects rotate-secret.

Open in the dashboard

Opens the project’s Dashboard page in your default browser.

Upgrade subscription

Use this command to subscribe a project or manage its existing subscription. The CLI routes you to the right Stripe surface based on the project’s current state:
  • Free or unsubscribed projects — opens Stripe Checkout
  • Active or past-due subscriptions — opens the Stripe Customer Portal (change plan, payment method, cancel, etc.)
Available tiers: pro, business, enterprise.
--manage wins over [tier] / --plan / --checkout when both are passed. Downgrades and cancellations live in the Stripe Portal — there’s no dedicated downgrade command.

Check phone number availability

Checks whether a phone number is available for Spectrum.

Common flags

These flags are available on most project commands: