-
Notifications
You must be signed in to change notification settings - Fork 0
Logout User
Rafael Chacon edited this page Feb 22, 2012
·
1 revision
Logout the current authenticated user (it just removes push tokens)
###URL:
POST http://public-api.piictu.com/v2/current_user/logout
###HTTP method(s): POST
###Requires authentication (Authentication and Authorization): Yes
###Parameters:
-
token(optional:string): push token for current user. If push token is passed is this token will be removed, otherwise all the push tokens for current user will be removed
###Usage example:
Example using cURL:
curl -i http://public-api.piictu.com/v2/current_user/logout \
-H "Authorization: OAuth 2540af0de12cb2367691516b8477b0b7bd66dbd8ab6840b147340c6898c4eebd"###Response:
On success
- HTTP response code is
200(OK)