How to remove affiliates
If you want to remove affiliates via API, you can use method deleteRows in class Pap_Merchants_User_AffiliateForm.
Deleting an affiliate will cause all his data (commissions, clicks, payout history, reports, etc...) to be deleted as well!
Here is an example: <?php include 'PapApi.class.php'; //the PapApi.class.php can be found in your Post Affiliate Pro merchant panel>tools>Integration>API integration $session = new Pap_Api_Session("https://URL_OF_YOUR_POST_AFFILIATE_PRO_ACCOUNT...