# Cancel a scan

Works for every kind of scan. A queued scan becomes canceled at once. A running scan is marked (cancel_requested_at is set) and stays running until the worker…

This endpoint is described in full, with every parameter and response, in the OpenAPI description: https://docs.trustivan.com/openapi.yaml

Page: https://docs.trustivan.com/api-reference/scans/cancel-a-scan
