This endpoint cancels a scan that is currently in progress. The scan status will be updated to cancelled and any running analysis stages will be stopped.Important Notes:
Only scans with status other than completed, failed, or cancelled can be cancelled
The scan will be marked as cancelled immediately
SSE (Server-Sent Events) subscribers will receive status update events
The SSE channel for this scan will be cleaned up after a short delay (2 seconds)