Unregister Device

Removing device registration.

To delete (unregister) a device from the database, send a DELETE request to the following endpoint with the device ID:

https://api.appery.io/rest/push/reg/<deviceId>

Parameters

The endpoint has the following parameters:

ParameterDescription
deviceIdUnique device identifier. Required.
X-Appery-App-IdUnique identifier of the Appery.io application. Required.

Error responses

The endpoint might respond with the following error messages:

HTTP StatusCodeDescription
400PNDD002App ID not specified
404PNDD006Device ID: not found
404 (400)PNDD015Project GUID: not found
400PNDU960Specified brand is not valid
Example

This examples hows removing (unregistering) a device from the Devices collection.

curl -X DELETE 
-H "Content-Type: application/json" 
-H "X-Appery-App-Id: e51f973c-aad9-4102-9f39-349c25264277" 
https://api.appery.io/rest/push/reg/356062053530044%3B9ec5fd0c3ade6681