Actions34
- Account Actions
- Confirmation Actions
- Market Actions
- Order Actions
- Position Actions
- Session Actions
- Watchlist Actions
Session → Switch Account
AI-generatedSummary
Switches the active Capital.com session to the selected account by sending its account ID to the API.
Inputs
- Account (required) — Choose an account from the searchable list or enter its ID directly.
Output shape
A single record containing the API response.
The operation updates the session’s cached active account ID. API errors are reported as node errors; with Continue On Fail enabled, the error is returned in an error field.