Remove a Scheduled Push Notification Message

Remove a scheduled Push Notification message.

To delete a scheduled push notification, send a DELETE request to the associated URL. This REST will only remove the scheduled message that hasn’t been already sent. In other case it returns an error.

https://api.appery.io/rest/push/msg/<pushId>

Parameters

The endpoint has the following parameter:

ParameterDescription
pushIdUnique identifier of push notification. Required.

Error responses

The endpoint might respond with the following error messages:

HTTP StatusCodeDescription
404PNMD100Can’t find scheduled push with id:
403PNMD115You are not permitted to perform this operation
Example
curl -X DELETE 
-H "Content-Type: application/json" 
https://api.appery.io/rest/push/msg/<pushId>