PATCH

/api/v1/exchanges/:id/rename

Izin: EXCHANGES_WRITEKeamanan: SIGNED

Memperbarui nama atau label khusus untuk entitas akun bursa terhubung menggunakan ID uniknya.

Parameter Path

idUUID string required

ID UUID unik entitas akun bursa terhubung ini.

Parameter Query / Body

labelstring required

Nama tampilan atau label kustom baru untuk akun bursa ini.

Contoh Permintaan

PATCHPATCH /api/v1/exchanges/7fa84b80-77a8-4e89-a292-123456789abc/rename?label=Akun%20Bursa%20Utama

Parameter Respons

Updated Account Entity Structure

Jika berhasil, respons mengembalikan objek model Exchange Connection yang telah diperbarui dengan nama tampilan baru.

View Account Entity Spec

Contoh Respons

rename_account_200.json
200 OK
{
  "id": "7fa84b80-77a8-4e89-a292-123456789abc",
  "exchange": "binance",
  "label": "My Renamed Main Binance",
  "connection_type": "spot",
  "can_trade": true,
  "can_withdraw": false,
  "is_active": true,
  "is_testnet": false,
  "last_verified": "2026-08-20T23:38:00.000Z",
  "last_error": null,
  "created_at": "2026-08-20T23:25:00.000Z"
}