Skip to main content
POST
Bulk-unassign accounts from a custody account group

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

groupId
string<uuid>
required

Identifier of the custody account group.

Example:

"9c0f1c0d-6c61-4f3d-9b8a-1a3a4b3c5d6e"

Body

application/json
accountIds
integer[]
required

Accounts to remove from this group. All-or-nothing — every account listed must currently belong to the target group, otherwise the call fails with 404 and no assignment row is removed.

Required array length: 1 - 100 elements
Example:

Response

Successfully unassigned accounts from the group.

data
object

A customer-defined grouping of custody accounts owned by a single entity. Each account can belong to at most one group at a time. The approximateBalanceInUsd and accountsPreview fields are aggregate views populated by the list-groups endpoint. The single-group detail endpoint returns the metadata-only view and omits both fields.