To delete (unregister) a device from the database, send a DELETE request to the following endpoint with the device ID:
The endpoint has the following parameters:
Unique device identifier. Required.
Unique identifier of the Appery.io application. Required.
The endpoint might respond with the following error messages:
App ID not specified
Device ID: not found
Project GUID: not found
Specified brand is not valid
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