Skip to main content
DELETE
This action is irreversible. All associated data including referrals, commissions, and partnerships will be permanently deleted. A webhook event will be emitted before deletion.

Path Parameters

string
required
The unique identifier of the affiliate to delete

Response

The response confirms successful deletion.
boolean
Always true for successful deletions
string
Confirmation message: "Affiliate deleted successfully"
Note: The associated user account will only be deleted if:
  • The user has no other affiliate accounts
  • The user does not own any teams
  • The user is not a member of any teams
Otherwise, only the affiliate account is deleted and the user account remains.