1. API Operations
  2. Delete scan

Deprecated

You are viewing a deprecated version of our API Reference. Please visit the up-to-date documentation.

Delete scan

This operation deletes a scan which is not running.


Request

Parameters
Parameter
op
Type
string
required
true

Delete a scan. The value is "delete_scan".

Parameter
scan_id
Type
integer
required
true

The ID of the scan that will be deleted.

{
  "op": "delete_scan",
  "scan_id": 194764
}

Response

Attributes
Attribute
op_status
Type
string

The status of the operation. The value can "success" or "fail".

Attribute
error
Type
string

Error message. Returned in case of a failed operation.

{
  "op_status": "success"
}