Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

Deleting Push Notifications

Deleting Push Notifications

Using the RESTful API, you can delete a push notification from your Telerik Platform app. Deleting a notification is similar to deleting a data item.

You can only delete push notifications by ID, one at a time.

Consider this example:

Request:
    DELETE https://api.everlive.com/v1/your-app-id/Push/Notifications/item-id-here  
Headers:
    Authorization  Masterkey your-master-key

Response:
    Status: 200 OK
    Content-Type: application/json
    Response Body:
    {
        "Result": 1
    }
$.ajax({
    type: "DELETE",
    url: 'https://api.everlive.com/v1/your-app-id/Push/Notifications/item-id-here',
    headers: {
        "Authorization": "Masterkey your-master-key"
    },
    success: function () {
        alert("Item successfully deleted.");
    },
    error: function (error) {
        alert(JSON.stringify(error));
    }
});

See Also


Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.