Cancel a queued or running scan
POST/v1/organizations/:org/scans/:scan/cancel
A queued scan never starts; a running one stops collecting and its results are discarded, so the inventory and findings keep the last finished scan's. Cancelling a cancelled scan returns it unchanged; a finished one cannot be cancelled.
Request
Responses
- 200
- 403
- 404
- 422
The cancelled scan
Your role does not allow this action
Not found, or not visible to you
Not possible in the current state