PUT
/api/v1/exchanges/:id
Permission: EXCHANGES_WRITESecurity: SIGNED
Updates an exchange account configuration using its unique ID, including updating API keys, secret credentials, label name, and active connection status.
Body Parameters
labelstring
Updated custom name or label for this exchange account.
api_keystring
Updated API key from this exchange account (re-encrypted with AES-256-GCM).
api_secretstring
Updated API secret from this exchange account.
passphrasestring
Updated API passphrase for exchanges requiring it (e.g. OKX).
is_activeboolean
Enable (true) or disable (false) automated bot trading on this connection.
Example Request
edit_account_request.json
PUT /api/v1/exchanges/:id Response Parameters
Account Entity Structure
If successful, the response includes the full updated copy of the Exchange Connection model.
Example Responses
edit_account_200.json
200 OK