Skip to main content

CLI Reference

Command structure, global flags, and output formats for soracom-cli

Copy/Save

Command Structure

soracom-cli commands follow the pattern soracom <resource> <action> [options]. The resource identifies what you are working with (sims, groups, subscribers, etc.) and the action specifies the operation (list, get, create, etc.).

Global Flags

The following flags are available on all commands.

FlagDescription
--coverage-typeSpecify coverage type (g: global, jp: japan)
--profileSpecify the profile name to use
--output-typeSpecify output format (json, table, tsv, raw)
--bodyRequest body as a JSON string

Commands

A list of the primary resource categories and their key commands.

CommandDescription
soracom simsManage SIMs (list, get, update status, set tags)
soracom groupsManage groups (list, create, update configuration)
soracom subscribersManage subscribers (list, get, change status)
soracom usersManage SAM users (list, create, set permissions)
soracom operatorGet and update operator information
soracom querySearch and filter resources

Output Formats

soracom-cli supports multiple output formats. Use the --output-type flag to switch between them.

  • json - JSON — Default output format. Best for structured data
  • table - table — Human-readable table format
  • tsv - tsv — Tab-separated values. Useful for scripts and spreadsheets
  • raw - raw — Raw API response output

See Also

View the CLI Usage Guide

Search Esc to close / Enter to view results