---
title: "Delete a scan"
method: DELETE
path: "/api/v1/scan/{scanId}"
tags: ["Scan Results"]
---

# Delete a scan

`DELETE /api/v1/scan/{scanId}`

## Delete a Scan

This endpoint will delete a scan and all it's associated data by the scan uuid.

Use this endpoint with caution, when the scan is deleted it cannot be recovered.

All usage of this endpoint will be logged and audited.

> 🧾 Audited
> This is recorded as `SCAN_REMOVED` [User Activity](https://apidocs.stackhawk.com/reference/listauditactivity#user-activity-types).


> Requires `delete:scan` permission.

## Path parameters

- `scanId` string, uuid, required

## Response `200`

OK

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/stackhawk/apis/stackhawk-public-api.md) · [All operations](https://skmtc.net/stackhawk/apis/stackhawk-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stackhawk/stackhawk-public-api/versions/ad3dfd54cb63/schema)
