Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 803 Bytes

deleteScan.md

File metadata and controls

32 lines (25 loc) · 803 Bytes

pv scan deleteScan

Command Reference > scan > deleteScan

Description

Deletes the scan associated with the data source

Syntax

pv scan deleteScan --dataSourceName=<val> --scanName=<val>

Required Arguments

--dataSourceName (string)
The data source name.

--scanName (string)
The scan name.

Optional Arguments

None

API Mapping

Scanning Data Plane > Scans > Delete

DELETE https://{accountName}.purview.azure.com/scan/datasources/{dataSourceName}/scans/{scanName}

Examples

Delete a scan by data source name and scan name.

pv scan deleteScan --dataSourceName "AzureSqlDatabase-9ZX" --scanName "Scan-ttF"