Update account API credentials
PUT/api/v1/accounts/:accountId/credentials
Set or update API credentials for an account. Only supported for brokers with per-account authentication (e.g. Alpaca). Credentials are validated against the broker before being saved. Account data is synced immediately after a successful update.
Request
Responses
- 200
- 400
- 401
- 404
- 500
Credentials updated successfully
Missing fields, invalid credentials, or broker does not support per-account authentication
Authentication required
Account not found
Server error