Flags
Output
--json:
source is local when the list comes from this machine and environment when it comes from SABAOTH_API_KEY.
Behavior
The command works differently depending on where your credential comes from:
With
SABAOTH_API_KEY set, the heading reads Organizations available to SABAOTH_API_KEY (saved selection ignored):. Showing organizations from this machine that the key can’t use would suggest access that isn’t there.
If nothing is stored and SABAOTH_API_KEY isn’t set, the command succeeds with an empty list and suggests running sabaoth login.
Errors
WithSABAOTH_API_KEY set, the API call can fail with API_KEY_UNAUTHORIZED, NETWORK_UNAVAILABLE, RATE_LIMITED or API_UNAVAILABLE. See Error codes.