Scan Rulesets - Delete
Deletes a scan ruleset.
DELETE {endpoint}/scan/scanrulesets/{scanRulesetName}?api-version=2023-09-01
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
endpoint
|
path | True |
string (url) |
The scanning endpoint of your purview account. Example: https://{accountName}.purview.azure.com. |
|
scan
|
path | True |
string minLength: 3maxLength: 63 pattern: ^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$ |
The scan ruleset name. |
|
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
ScanRulesets_Delete
Sample request
DELETE {endpoint}/scan/scanrulesets/nyScanRulesetName?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. |