Delete a Vscan scanner-pool configuration
DELETE /protocols/vscan/{svm.uuid}/scanner-pools/{name}
Introduced In: 9.6
Deletes a Vscan scanner-pool configuration.
Important notes:
- 
The Vscan scanner-pool DELETE endpoint deletes all of the Vscan scanner-pools for a specified SVM.
 - 
If a Vscan is enabled, it requires at least one scanner-pool to be in the active state. Therefore, disable Vscan on the specified SVM so all the scanner-pools configured on that SVM can be deleted.
 
Related ONTAP commands
- 
vserver vscan scanner-pool 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 | 
|---|---|
10027070  | 
Attempting to delete a scanner-pool but it is the only active scanner-pool for a Vscan enabled on the SVM  | 
10027064  | 
Attempting to delete a scanner-pool with a data SVM which was created with an administrative SVM  | 
| 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  | 
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.  |