Stop a running scan by cancelling the Celery task.
Required Scope: write:scan
Security: Scan ownership validation through repository
Args: scan_id: Scan ID to stop auth: Authentication context
Returns: Success message with scan status
Raises: 401: Unauthorized (invalid token/API key) 403: Forbidden (insufficient scope or scan not owned by userβs org) 404: Not found (scan not found) 400: Bad request (scan not running)
Use an API key in the X-API-Key header.
Successful Response
The response is of type object
.