band location create
Create a new location (SIP peer) under a sub-account
Synopsis
Creates a new location (SIP peer) within the given sub-account. Use --if-not-exists to make the command idempotent, returning the existing location instead of erroring when one with the same name already exists.
band location create [flags]
Examples
band location create --site 12345 --name "Primary SIP"
# Idempotent — safe to re-run
band location create --site 12345 --name "Primary SIP" --if-not-exists
Options
-h, --help help for create
--if-not-exists Return existing location if one with the same name already exists
--name string Location name (required)
--site string Sub-account ID (required)
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 location - Manage locations (SIP peers) under sub-accounts