import { Novu, ChannelTypeEnum } from "@novu/node"; const novu = new Novu("<NOVU_SECRET_KEY>"); await novu.messages.deleteById("<Message_Id>");
{ "data": { "acknowledged": true, "status": "deleted" } }
Deletes a message entity from the Novu platform
Authorization
ApiKey 18d2e625f05d80e
API key authentication. Allowed headers-- "Authorization: ApiKey <api_key>".
OK
The response is of type object.
object
Was this page helpful?