Skip to main content

Un-registration Service

Suggest edit Updated on March 25, 2022

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.

Note: Un-registering a push token removes the push token registration from the system. The Data-PushNotification-Delivery-Registration.PreRegistrationDelete activity is provided as an extension point for custom implementations. This activity can be used to insert desired behavior before the registration entry is deleted. This activity can also be used to bypass the deletion process. For more details, refer to the usage guidelines specified in this activity.
  • Previous topic Registration Service
  • Next topic Specifying the context for inbound applications with the Inbound Call Center shape
Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us