---
title: "DELETE /datasources/{dataSourceName}/scans/{scanName}"
method: DELETE
path: "/datasources/{dataSourceName}/scans/{scanName}"
tags: ["Scan"]
---

# DELETE /datasources/{dataSourceName}/scans/{scanName}

`DELETE /datasources/{dataSourceName}/scans/{scanName}`

Deletes the scan associated with the data source

## Path parameters

- `dataSourceName` string, required
- `scanName` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Success

- Scan
  - `id` string
  - `name` string

## Other responses

- `204` — Success
- `default` — An error response received from the Scanning Service

---

[API](https://skmtc.dev/azure/apis/purview-scanning.md) · [All operations](https://skmtc.dev/azure/apis/purview-scanning/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/purview-scanning/revisions/d9b5ef7ddd8a/schema)
