RecomlyRecomlyRecomlyDocs
Recomly APIEndpoints

Delete advocate

Remove an advocate and all of their referral data from a campaign.

DELETE /api/app/campaigns/{campaignId}/advocates/{advocateId}

Removes an advocate from a campaign and permanently deletes all of their associated referrals and conversions. This action cannot be undone.


Request

See API Basics for required headers.

This endpoint takes no request body.


Sample request

curl -X DELETE https://api.recomly.com/api/app/campaigns/c7a3f1d2-84b0-4e9a-bcd2-1f3e5a7c9012/advocates/e9c5a3b1-72d4-4f8e-ace5-3g5h7i9j0123 \
  -H "Authorization: Bearer rk_live_abc123:def456"

Sample response

Status: 200 OK

{
  "ok": true
}

Error responses

See API Basics for standard status codes and error response format.

On this page

We use cookies

We use essential cookies to keep the site working, and optional analytics cookies to understand how it's used. Read our Privacy Policy.