Un-registration Service
The un-registration service is a REST service that supports the POST HTTP method. The URL for this service is:
Pega Customer Decision Hub
http://<host>:<port>/prweb/PRRestService/PushNotification/Registration/Unregister
For the request, this service expects a JSON object having the following structure:
{
"AppVariantID":"<AppVariantID>",
"PushToken":"<PushToken>"}
The tokens included in the above request are:
- AppVariantID - Unique ID for the app variant configured in the system. This is specified when the app variant is created in the system and is used as a means for validating genuine requests.
- PushToken - Token assigned by the platform messaging service that is used for pushing notification messages for the selected app on the selected device.
For the response, this service sets the appropriate HTTP status code. In case of errors, an appropriate message is also returned as part of the error stream.
Previous topic Registration Service Next topic Specifying the context for inbound applications with the Inbound Call Center shape