Skip to content

Instantly share code, notes, and snippets.

@boomtrain-support
Created September 1, 2015 23:53
Show Gist options
  • Save boomtrain-support/c28f34f52905a6f6c604 to your computer and use it in GitHub Desktop.
Save boomtrain-support/c28f34f52905a6f6c604 to your computer and use it in GitHub Desktop.
POST /unsubscribe - Unsubscribe a User from all Campaigns using cURL
curl -u {username}:{password}
-H 'x-app-id: {app_id}'
-X POST
-H 'Content-Type: application-json'
-d '{"email": "{User's Email Address}"}'
'https://api.boomtrain.com/unsubscribe'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment