Stop a scheduled or currently outgoing message.
send_after. The response of our Create message API has an id which corresponds to the message_id used in this request. You can store this message_id on your server and use this API to cancel sending the message to the user if not needed anymore.
If you need a way to remove a notification already sent to a user, see Remove notifications & TTL.
Your App API key with prefix Key. See Keys & IDs.
The identifier of the message in UUID v4 format. Get this id in the response of your Create Message API request, the View Messages API, and in your OneSignal dashboard Message Reports.
Your OneSignal App ID in UUID v4 format. See Keys & IDs.
200
Indicates if the message was successfully canceled.