Classification Rules - Delete
In this article
Deletes a classification rule.
DELETE {endpoint}/scan/classificationrules/{classificationRuleName}?api-version=2023-09-01
Name | In | Required | Type | Description |
---|---|---|---|---|
classification
|
path | True |
string minLength: 3maxLength: 63 pattern: ^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$ |
The classification rule name. |
endpoint
|
path | True |
string (url) |
The scanning endpoint of your purview account. Example: https://{accountName}.purview.azure.com. |
api-version
|
query | True |
string |
The api version to use. |
Name | Type | Description |
---|---|---|
204 No Content |
Success. |
|
Other Status Codes |
An error response received from the Scanning Service. Headers x-ms-error-code: string |
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Sample request
DELETE {endpoint}/scan/classificationrules/ClassificationRule1?api-version=2023-09-01
Sample response
x-ms-request-id: d5496da4-9c52-402f-b067-83cc9ddea888
Name | Description |
---|---|
Error |
The error model. |
Error |
The error response model. |
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. |
The error response model.
Name | Type | Description |
---|---|---|
error |
The error model. |