A newer release of this product is available.
Delete an antivirus On-Access policy configuration
Contributors
Suggest changes
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
DELETE /protocols/vscan/{svm.uuid}/on-access-policies/{name}
Introduced In: 9.6
Deletes the anti-virus On-Access policy configuration.
Related ONTAP commands
-
vserver vscan on-access-policy delete
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
name |
string |
path |
True |
|
svm.uuid |
string |
path |
True |
UUID of the SVM to which this object belongs. |
Response
Status: 200, Ok
Error
Status: Default
ONTAP Error Response Codes
Error Code | Description |
---|---|
10027034 |
An On-Access policy associated with a data SVM which was created by SVM owned by the cluster cannot be deleted. |
10027040 |
An On-Access policy with a status enabled cannot be deleted. Disable the policy and then delete the policy. |
Name | Type | Description |
---|---|---|
error |
Example error
{
"error": {
"arguments": [
{
"code": "string",
"message": "string"
}
],
"code": "4",
"message": "entry doesn't exist",
"target": "uuid"
}
}
Definitions
See Definitions
error_arguments
Name | Type | Description |
---|---|---|
code |
string |
Argument code |
message |
string |
Message argument |
returned_error
Name | Type | Description |
---|---|---|
arguments |
array[error_arguments] |
Message arguments |
code |
string |
Error code |
message |
string |
Error message |
target |
string |
The target parameter that caused the error. |