Product
Search Results

Delete

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.