Is it possible to remove particular push notification message from an ios device or apns api using message Id
Currently I am sending the notification using
data = json.dumps({"to" : gcm_token,
"content_available":False,
"priority": "high",
"notification": { "sound":"default",
"badge":"1",
"click-action":activityName,
"body":subject}
})
request_header={'Content-Type': 'application/json', 'Authorization': 'key=%s'%(Auth_Key)}
request = urllib2.Request('https://gcm-http.googleapis.com/gcm/send', data, headers=request_header)
response = urllib2.urlopen(request).read()