Skip to content

Instantly share code, notes, and snippets.

@moehandi
Created April 28, 2017 03:13
Show Gist options
  • Save moehandi/735f89d8cea0882a5087d8ac1af3d440 to your computer and use it in GitHub Desktop.
Save moehandi/735f89d8cea0882a5087d8ac1af3d440 to your computer and use it in GitHub Desktop.
curl -H "Content-Type:application/json" "Authorization:key=SERVER_KEY"
-X POST https://iid.googleapis.com/iid/v1:batchRemove
-d '{
"to": "/topics/sakit_perut",
"registration_tokens":[
"DeviceTokenFromUser"
]
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment