ghl_affiliate_delete_customer
Deletes a customer or lead linked to an affiliate within a specific sub-account location, removing the affiliate customer record.
Instructions
Delete customer Delete a lead or customer for an affiliate. Endpoint: DELETE /affiliate-manager/{locationId}/affiliates/{affiliateId}/customer/{customerId} (Version header: v3; source: v3/affiliate-manager-v3.json) Requires a Sub-Account (location) token. OAuth scopes: affiliate-manager.write
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customerId | Yes | Customer Id | |
| locationId | Yes | Location Id | |
| affiliateId | Yes | Affiliate Id |