---
title: "Delete Scan"
method: DELETE
path: "/v1/scans/{scan_id}"
---

# Delete Scan

`DELETE /v1/scans/{scan_id}`

Delete a scan using scanId

## Response `200`

Example response

- object
  - `message` string, required
  - `ok` boolean

## Other responses

- `401` — Example response
- `500` — Example response

## Changes

- **2023-12-05** `5c3748c387f7` — 2 breaking, 12 warning, 3 info
  - the response property `status` became nullable for the status `500`
  - the `status` response's property type changed from `integer` to `boolean, null` for status `500`
  - deleted the `header` request parameter `X-Team-Id`
  - removed the optional property `code` from the response with the `401` status
  - …13 more

[Change history](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/scans/:scan_id/delete.md)

---

[API](https://skmtc.dev/projectdiscovery/apis/pdcp-api.md) · [All operations](https://skmtc.dev/projectdiscovery/apis/pdcp-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/projectdiscovery/pdcp-api/revisions/cd865d59d034/schema)
