Events
Cancel triggered event
Using a previously generated transactionId during the event trigger,
will cancel any active or pending workflows. This is useful to cancel active digests, delays etc...
DELETE
/v1/events/trigger/{transactionId}
Authorization*
Please ensure there is a space between ApiKey
and your Api key.
E.g ApiKey 18d2e625f05d80e
import { Novu } from '@novu/node';
const novu = new Novu("<NOVU_API_KEY>");
await novu.subscribers.cancel("transactionId");
{
data: data
}
Path Parameters
transactionIdrequired
string
Response
200 - application/json
datarequired
boolean
import { Novu } from '@novu/node';
const novu = new Novu("<NOVU_API_KEY>");
await novu.subscribers.cancel("transactionId");
{
data: data
}