v1

latestOpenAPI 3.1.02026-07-26497885.9 KB

Cancel message

Stop a scheduled or currently outgoing message.

delete/notifications/{message_id}?app_id={app_id}

Path parameters

message_idstring required

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.

app_idstring required

Your OneSignal App ID in UUID v4 format. See Keys & IDs.

Headers

Authorizationstring required

Your App API key with prefix Key . See Keys & IDs.

Response

200

successboolean

Indicates if the message was successfully canceled.