A newer release of this product is available.
Delete an IPsec policy
Deletes an IPsec policy to remove configuration settings associated with secure network communications. Use this when you need to clear outdated or unnecessary policies from the system.
HTTP method and endpoint
DELETE /security/ipsec/policies/{uuid}
Introduced in
ONTAP 9.8
Usage notes
Deletes a specific IPsec policy.
Related ONTAP commands
-
security ipsec policy delete
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
uuid |
string |
path |
True |
IPsec policy UUID |
Response
Status: 200, Ok
Error
Status: Default
ONTAP Error Response Codes
| Error Code | Description |
|---|---|
66257096 |
Internal error. Failed to purge connections associated with the IPsec policy. |
66257116 |
IPsec policy with the specified UUID was not found. |
| 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. |