Delete the FPolicy configuration for an SVM
Deletes an FPolicy configuration for a specific SVM. This action is typically used to remove unwanted or outdated configurations associated with FPolicy for a given storage virtual machine.
HTTP method and endpoint
DELETE /protocols/fpolicy/{svm.uuid}
Introduced in
ONTAP 9.6
Usage notes
Deletes the FPolicy configuration for the specified SVM. Before deleting the FPolicy configuration, ensure that all policies belonging to the SVM are disabled.
Important notes: The volume associated with the FPolicy Persistent Store is not automatically deleted from the FPolicy general endpoint. The associated volume can be removed manually.
Related ONTAP commands
-
fpolicy delete -
fpolicy policy scope delete -
fpolicy policy delete -
fpolicy policy event delete -
fpolicy policy external-engine delete -
fpolicy persistent-store delete
Learn more
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
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 |
|---|---|
9765031 |
If any of the FPolicy engine, FPolicy event or FPolicy policy deletion fails due to a systemic error or hardware failure, the cause of the failure is detailed in the error message. |
| 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. |