Page tree
Skip to end of metadata
Go to start of metadata

This article describes how to deregister devices, by sending an empty register request using the Nexus Push Service REST API. Deregistration of a single device can also be done by sending a unregister request, see Nexus Push Service API

Expand/Collapse All

Prerequisites

 Prerequisites
  • Installed Nexus Push Service, see here.

Step-by-step instruction

 Send empty register request to Nexus Push Service
  1. Send an empty register request, see code example:

    Example: Empty register request
    POST /inventory/device/register
    {
     "pushIds":[],
     "deviceToken": "244E8AF32631DC666927D267DE2BE",
     "appIdentifier": "com.nexusgroup.personal",
     "platform": "APPLE",
     "buildType": "PROD"
    }
    
    
 Check the register response
  1. Verify that the status code is 200. See example response for a successful registration:

    Example: register response
    {
     "result": 
     {
        "status": 200,
     }
    }