Skip to main content
REST API reference
A newer release of this product is available.

Deletes the anti-virus on-access policy configuration

learn more

  • [doc /protocols/vscan/{svmuuid}/on-access-policies](#docs-nas-protocols_vscan_{svmuuid}_on-access-policies)

DELETE /protocols/vscan/{svm.uuid}/on-access-policies/{name}

Deletes the anti-virus On-Access policy configuration.

  • vserver vscan on-access-policy delete

Parameters

Name Type In Required Description

svm.uuid

string

path

True

UUID of the SVM to which this object belongs.

name

string

path

True

Response

Status: 200, Ok

Error

Status: Default

ONTAP Error Response Codes

Error Code Description

10027034

An On-Access policy associated with an administrative SVM 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

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

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.

Close
Try it out

Sign in with your NetApp Cloud Central credentials.

Try this API

Parameters

Headers

Body

Code

Response