Events
Cancel triggered event
Cancel triggered event using the Novu REST API. Requires your environment secret key in the Authorization header.
DELETE
PHP
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Cancel triggered event using the Novu REST API. Requires your environment secret key in the Authorization header.
declare(strict_types=1);
require 'vendor/autoload.php';
use novu;
$sdk = novu\Novu::builder()
->setSecurity(
'YOUR_SECRET_KEY_HERE'
)
->build();
$response = $sdk->cancel(
transactionId: '<id>'
);
if ($response->boolean !== null) {
// handle response
}trueWas this page helpful?
declare(strict_types=1);
require 'vendor/autoload.php';
use novu;
$sdk = novu\Novu::builder()
->setSecurity(
'YOUR_SECRET_KEY_HERE'
)
->build();
$response = $sdk->cancel(
transactionId: '<id>'
);
if ($response->boolean !== null) {
// handle response
}true