How to delete a Google Cloud Messaging device group? -


how delete gcm device group?

is there rest endpoint this?

i have looked here there doesn't seem way rid of complete device group.

i don't have notification_key device group, notification_key_name.

i have checked google documentation , there no explanation yet on how delete entire device group. best way can remove devices existing group. found solution doesn't require notification_key. requires keys like: operation set remove, id_token set idtoken, notification_key_name , registration_ids.

see sample code below:

//http request jsonobject data = new jsonobject(); data.put("operation", "remove"); data.put("notification_key_name", useremail); data.put("registration_ids", new jsonarray(arrays.aslist(registrationid))); data.put("id_token", idtoken); 

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -