remove existing client_ids from Broker

I would like to be able to remove an existing Client Id from a Broker (his would be akin to selecting an individual Client ID from MWS and clicking on the Delete button).

There is an API call (COM.activesw.API.client.BrokerClient) which creates me a new Client ID and I am able to see all Client IDs that exist for a given Client Group associated with the Client Group. There is a destroy() method that looks like it could be use although I cannot see any examples of code API that looks like it enables me to deleting, an already existing Client ID.

thanks Tony

I use the following on a BrokerAdminClient to remove a client:

brokerAdminClient.destroyClientById(clientIds[i]);

and clientIds from:

String clientIds = c.getClientIdsByClientGroup(clientGroup);

Good luck