Delete a specific FPolicy event configuration for an SVM
Deletes a specific FPolicy event configuration for an SVM. This is useful when you need to manage or remove configurations that are no longer required for your storage environment.
HTTP method and endpoint
DELETE /protocols/fpolicy/{svm.uuid}/events/{name}
Introduced in
ONTAP 9.6
Usage notes
A cluster-level FPolicy event configuration cannot be modified for a data SVM through REST. An FPolicy event that is attached to an FPolicy policy cannot be deleted.
Related ONTAP commands
-
fpolicy policy event delete
Learn more
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
| Error Code | Description |
|---|---|
9764874 |
The FPolicy event is a cluster event |
9764947 |
The FPolicy event is attached to an FPolicy 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. |