This API unlike all the other delete APIs in cloudstack needs an account and domainid to delete the cloud resource (affinity group). Any reason why this should flout the semantics of other delete APIs which work with just an id?
Signature below: AffinityGroupServiceImpl.java @DB @Override @ActionEvent(eventType = EventTypes.EVENT_AFFINITY_GROUP_DELETE, eventDescription = "Deleting affinity group") public boolean deleteAffinityGroup(Long affinityGroupId, String account, Long domainId, String affinityGroupName) { Thanks, -- Prasanna., ------------------------ Powered by BigRock.com