Remove reward
documentedDeletes a reward from a member or referral of a program.
DELETE /api/rewards/removeRewardsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.referralrock.com/api/rewards/remove" \
-X DELETE \
-H "Authorization: Basic {{REFERRALROCK_API_KEY}}:{{REFERRALROCK_API_SECRET}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '["{{$reward_id_1}}", "{{$reward_id_2}}"]'