1. Teleboard | Support Center
  2. Solution home
  3. API Documentation
  4. REST API - POST Requests
Open navigation

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. The uuid parameter 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:


HTTPS method: Post


Header


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


Body


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


Response:


{

"error": null,

"result": true

}