import { Novu } from '@novu/node';
const novu = new Novu("<NOVU_API_KEY>");
await novu.events.cancel("transactionId");
{
data: true
}
import { Novu } from '@novu/node';
const novu = new Novu("<NOVU_API_KEY>");
await novu.events.cancel("transactionId");
{
data: true
}
Authorization
field like the example shown below:E.g ApiKey 18d2e625f05d80e
import { Novu } from '@novu/node';
const novu = new Novu("<NOVU_API_KEY>");
await novu.events.cancel("transactionId");
{
data: true
}
The response is of type object
.
Was this page helpful?