band number count
Count phone numbers without listing them
Synopsis
Returns the number of phone numbers on the account, a sub-account, or a location using the Dashboard totals endpoints — no paging through the full inventory.
band number count [flags]
Examples
band number count
band number count --disconnected
band number count --subaccount 407
band number count --subaccount 407 --location 500017
Options
--disconnected Count disconnected numbers instead of in-service ones
-h, --help help for count
--location string Count numbers on a location (SIP peer ID); requires --subaccount
--subaccount string Count numbers on a sub-account (site ID)
Options inherited from parent commands
--account-id string Bandwidth account ID (overrides config)
--environment string API environment: prod, test (overrides config)
--format string Output format: json or table (default "json")
--plain Simplified flat JSON output (recommended for scripts and agents)
SEE ALSO
- band number - Manage Bandwidth phone numbers