This code snippet shows you how to cancel the creation of a report.
||Yes||Your API key which you can obtain from your Dashboard.|
||Yes||Your API secret which you can obtain from your Dashboard.|
||Yes||The request ID of the report to cancel creation of.|
Add the following to
curl -X DELETE -u "$NEXMO_API_KEY:$NEXMO_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.