POST/push/logout

Function


The Post/push/logout method revokes a user's push notification messages access previously granted with the post/push/login method for a specific device.


The request only returns an error and result fields. The later is a Boolean-true/false field indicating a successful or failed logging out.


Parameters


There are no parameters in the header. All parameters go in the body in JSON Raw format.


Parameter
Type
Operation
uuid
stringUnique user ID - obtained from the post/push/login method. This is an identification number generated for each individual device subscribing or publishing on the PubNub network that Telebroad utilize for the push notifications service. Essentially this identifies which of the user's devices to revoke push notifications access for. Revoking access to multiple devices will require multiple uuid parameters, which can be sent in one or several requests.


Example


To revokes a user's push notification messages for a specific device use this syntax:


HTTP method: Post


Header


webserv.telebroad.com/api/teleconsole/rest/push/logout


Body


{"uuid": "47D1FDC2-M18E-4A71-A14C-259E02AD4891"}



Result:


{

"error": null,

"result": true

}

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.