Bulk remove rewards
documentedDeletes rewards from members or referrals in a program (bulk operation).
POST /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 POST \
-H "Authorization: Basic {{REFERRALROCK_API_KEY}}:{{REFERRALROCK_API_SECRET}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"query": {"primaryInfo": {"rewardId": "{{$reward_id}}"}}}'