CloudShark Support

The delete API method

This method was introduced in CloudShark 1.4 and refers to version 1.0 of the API

Description

The delete API call allows a capture file to be removed from a CloudShark system.

Usage

POST /api/v1/<token>/delete/<cid>

The delete call uses an http or https POST to delete the specified capture file from the CloudShark system.

Example

curl -X POST https://www.cloudshark.org/api/v1/26dc27fccea675d0ede6993a85e11972/delete/cd17d8b73fea

The method returns a JSON object indicating the status of the delete operation.

{"status":200,"message":"Capture deleted successfully.","id":"cd17d8b73fea"}

Notes

The delete call will only succeed if the owner of the API token has sufficient permission to actually delete the file.

About CloudShark

CloudShark is made by QA Cafe, a technology company based in Portsmouth, NH. Our passion for packet captures has grown out of our other product CDRouter.

Get in touch via our Contact us page or by following us on your favorite service: