This code snippet shows you how to cancel the creation of a report.
||Your Vonage API key (see it on your dashboard).|
||Your Vonage API secret (also available on your dashboard).|
||The request ID returned when a report was created|
Add the following to
curl -X DELETE -u "$VONAGE_API_KEY:$VONAGE_API_SECRET" \ "https://api.nexmo.com/v2/reports/$REQUEST_ID"
Save this file to your machine and run it:
Run the script to cancel the report.