File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,10 +92,33 @@ webex logout # Remove stored tokens
9292webex auth status # Show current user and token status
9393webex auth list # List all authenticated users
9494webex auth switch < email> # Switch default user
95+ webex auth set-org < org-id> # Set a persistent org override
96+ webex auth clear-org # Clear the org override
9597```
9698
9799Token resolution order: ` --token ` flag > ` $WEBEX_TOKEN ` env var > OS keyring.
98100
101+ ### Organization Override
102+
103+ Partner admins managing customer orgs can set a persistent default org so they don't need ` --organization ` on every command:
104+
105+ ``` bash
106+ # Set a default org (accepts UUID or base64 ID, validates via API)
107+ webex auth set-org < org-id>
108+
109+ # All subsequent commands use the override org
110+ webex calling devices list
111+ webex cc site list
112+
113+ # The --organization flag still takes priority for one-off commands
114+ webex calling people list --organization < other-org-id>
115+
116+ # Clear the override to revert to your home org
117+ webex auth clear-org
118+ ```
119+
120+ Org resolution order: ` --organization ` flag > ` auth set-org ` override > login user's home org.
121+
99122## Output Formats
100123
101124Control output with ` --output ` :
You can’t perform that action at this time.
0 commit comments