Unsubscribe contact from list (by email)
documentedUnsubscribe contacts from a specific list by email address (request body should include {"email":"..."}).
POST /lists/{list_id}/unsubscribe.jsonListsno 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://campayn.com/api/v1/lists/{{$list_id}}/unsubscribe.json" \
-X POST \
-H "Authorization: TRUEREST apikey={{CAMPAYN_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"id": "{{$contact_id}}"}'