Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage of unregister API endpoint is unclear #19

Closed
okal opened this issue Sep 16, 2014 · 3 comments
Closed

Usage of unregister API endpoint is unclear #19

okal opened this issue Sep 16, 2014 · 3 comments

Comments

@okal
Copy link

okal commented Sep 16, 2014

It is not clear from the documentation what sort of payload unregister accepts. What should be the contents of the JSON?

@bogdal
Copy link
Owner

bogdal commented Sep 16, 2014

Hi @okal. Unregister endpoint requires only dev_id param.

An example:

curl -X POST -H "Content-Type: application/json" -d '{"dev_id": "test"}' http://localhost:8000/gcm/v1/device/unregister/

@bogdal
Copy link
Owner

bogdal commented Oct 5, 2015

@bogdal bogdal closed this as completed Oct 5, 2015
@okal
Copy link
Author

okal commented Oct 6, 2015

👍 Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants