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:
Parameter | Description |
---|---|
pushId |
Unique identifier of push notification. Required. |
Error responses
The endpoint might respond with the following error messages:
HTTP Status | Code | Description |
---|---|---|
404 |
PNMD100 |
Can’t find scheduled push with id: |
403 |
PNMD115 |
You are not permitted to perform this operation |
Example
curl -X DELETE
-H "Content-Type: application/json"
https://api.appery.io/rest/push/msg/`<pushId>`