Scans - Delete
Deletes the scan associated with the data source.
DELETE {endpoint}/scan/datasources/{dataSourceName}/scans/{scanName}?api-version=2023-09-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
data
|
path | True |
string |
The dataSource name. Regex pattern: |
endpoint
|
path | True |
string url |
The scanning endpoint of your purview account. Example: https://{accountName}.purview.azure.com. |
scan
|
path | True |
string |
The scan name. Regex pattern: |
api-version
|
query | True |
string |
The api version to use. |
Responses
Name | Type | Description |
---|---|---|
204 No Content |
Success. |
|
Other Status Codes |
An error response received from the Scanning Service. Headers x-ms-error-code: string |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Scans_Delete
Sample Request
DELETE {endpoint}/scan/datasources/myDataSource/scans/myScanName?api-version=2023-09-01
Sample Response
x-ms-request-id: d5496da4-9c52-402f-b067-83cc9ddea888
Definitions
Name | Description |
---|---|
Error |
The error model. |
Error |
The error response model. |
ErrorModel
The error model.
Name | Type | Description |
---|---|---|
code |
string |
A unique error code that identifies the specific error. |
details |
An array of nested ErrorModel objects that provides additional error details. |
|
message |
string |
A human-readable error message that provides more details about the error. |
target |
string |
The specific component that the error is associated with. |
ErrorResponseModel
The error response model.
Name | Type | Description |
---|---|---|
error |
The error model. |