Cancelling needs the scan:cancel permission. The API call is POST /api/scans/:id/cancel, and the scan then ends as Cancelled. The captured scan list shows Scan, Report and delete actions only, so ask your admin or use the API.
Steps
Cancelling stops a run that is still going. You may want this after starting the wrong profile.
- Check your permission. You need scan:cancel. Ask an admin if unsure.
- Copy the scan ID. Open the scan; its ID is in the page address.
- Send the cancel call. POST to /api/scans/:id/cancel with your session or Bearer API token.
- Refresh the page. Click Refresh on the scan detail page.
- Confirm the result. The row should show Cancelled.
Good to know
The Recent Scans table offers Scan, Report and a trash icon. A cancel control did not appear in that list when we captured it. Still, the reference lists the call: POST /api/scans/:id/cancel, which cancels a running scan and needs scan:cancel.
Calls work with a session cookie or a Bearer API token, and an admin issues the tokens. If you cannot make the call yourself, ask your admin or write to /contact with the scan ID.
The Activity page records a Cancel · Scan entry, so you can confirm who cancelled and when. Cancelled runs show a grey Cancelled badge in Recent Scans.
After you cancel
Findings found before the stop can still appear on the scan, in the same way a failed scan can still hold findings. Start a new run when you are ready. A cancelled run cannot be resumed, so a fresh run starts from the beginning of the pipeline.
Keep the scan ID handy, because the address of the scan detail page ends with it and the API call needs it. If you work from a pipeline, the same cancel call works there with an API token that holds the right permission. Plan ahead.
Related questions
- How do I delete a scan run?
- What do Completed, Failed and Cancelled mean on a scan?
- How do I get the latest status on a scan's page?
- What does "Scan failed — The scan could not be completed" mean, and what should I do?
- Why do I get a permission error when I try to start a scan?
Failed or cancelled scans: what to check and how to re-run
Step-by-step, with annotated screenshots.
Updated · Back to the help centre
Still stuck?
Tell us what you see on screen and an engineer will help you sort it out.