Update scan status
PATCH {{baseUrl}}/was/v2/scans/:scan_id
Update the requested_action attribute for a scan. The requested action must be valid for the scan's current status. For example, you can stop a scan if it has a status of running. Otherwise, Tenable.io Web Application Scanning returns a 409 reponse code. This request creates an asynchronous update job.
Requires SCAN OPERATOR [24] user permissions and CAN CONTROL [32] scan permissions. See Permissions.
Request Body
{"requested_action"=>"stop"}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string |