Data Privacy Opt-Out Request
documentedRequest opt-out for data usage.
POST /api/v1/data-privacy/opt-out-requestAccountsno 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.sparkpost.com/api/v1/data-privacy/opt-out-request" \
-X POST \
-H "Authorization: {{SPARKPOST_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-MSYS-SUBACCOUNT: {{$subaccount_id}}" \
-d '{"recipients": ["{{$recipient_email1}}","{{$recipient_email2}}"], "include_subaccounts": {{$include_subaccounts}}}'