subaccounts

Delete Subaccount

Delete a subaccount. Requires user:manage on the subaccount. Custodial subaccounts cannot be deleted.

Refused with 409 if the subaccount has any open order (resting/in-flight orders, or an active iceberg, peg, smart-taker or conditional order) — cancel those first.

This is a soft delete: the row is marked is_active = false so the audit trail (orders, fills, ledger entries) stays intact. The user never sees it again.

delete/v1/subaccounts/{subaccount_id}

Request

  • Base URL
    https://api.rivermarkets.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rivermarkets.com/v1/subaccounts/{subaccount_id}
  • Auth
    none declared

Path parameters

subaccount_idstring required

Response

Successful Response

Changes

No recorded changes to this operation across all 27 revisions of this API.