Sign in

Data Privacy Opt-Out Request

documented

Request opt-out for data usage.

POST /api/v1/data-privacy/opt-out-requestAccountsno implementation yet0 runs
No 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}}}'
Data Privacy Opt-Out Request · SparkPost · OpenIntegrations