Update connected account credentials
Replace the API credentials (secret + API key) of a connected account.
Credentials belong to an API key, which can back a single account or an entire hierarchy. Updating them affects all accounts sharing that key, so the endpoint returns an array of modified accounts.
The creds field must be a Base64-encoded RSA-encrypted credential blob; use
GET /connected_accounts/credentials/public_key to retrieve the public key for encryption.
Both creds and apiKey are mandatory.
Validation against the exchange is synchronous, but the update itself is pending mobile approval — the existing credentials stay live until the change is approved, so none of the affected accounts are disconnected in the meantime.
Endpoint Permission: Admin, Non-Signing Admin.