Skip to main content
DELETE
/
referrals
/
{id}
Delete referral
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": {}
}

Authorizations

Authorization
string
header
required

Access token passed as a Bearer token in the Authorization header

Headers

Account-ID
string
required

Account identifier that specifies which account is making the request

Example:

"acc_123456"

Path Parameters

id
integer
required

Response

Successfully deleted