taskId = models.CharField(max_length=100)
scan = Scan.objects.filter(owner__id=req.user.id, status='active').first()
revoke(scan.taskId, terminate=True, signal='SIGKILL')
scan.delete()
return JsonResponse({
"success": True,
"message": "Скан успешно завершён"
})