DELETE /api/v202407/summaryAccount/{summaryAccountId}/subAccount/{subAccountId}

Unlinks a specific sub-account from a summary account

UnlinkSubAccountV202407 Permissions: Accounts (Edit)
Use this endpoint to remove the link between a specific sub-account and its summary (parent) account. This does not delete the sub-account itself. To unlink all sub-accounts at once, use DELETE /summaryAccount/{summaryAccountId}/subAccount (without a subAccountId).

Request Headers

Header Value Required Description
ECI-ApiKey string Yes Your API key. See Authentication.
Content-Type application/json Yes All requests must specify JSON content type.

Path Parameters

Name Description Type Required
summaryAccountId The unique numeric identifier of the summary account integer (int32) Required
subAccountId The unique numeric identifier of the sub-account to unlink integer (int32) Required

Responses

204 No Content The request succeeded. No content is returned in the response body.