cURL
curl --request DELETE \ --url https://api.firstpromoter.com/api/v2/affiliate/referrals/{id} \ --header 'Account-ID: <account-id>' \ --header 'Authorization: Bearer <token>'
{ "message": "<string>", "code": "<string>", "errors": {} }
Access token passed as a Bearer token in the Authorization header
Account identifier that specifies which account is making the request
"acc_123456"
Successfully deleted