A newer release of this product is available.
Delete a service policy for network interfaces
Deletes a service policy for network interfaces to remove specific configurations or rules associated with them. This can be useful when updating network settings or cleaning up outdated policies.
HTTP method and endpoint
DELETE /network/ip/service-policies/{uuid}
Introduced in
ONTAP 9.8
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
uuid |
string |
path |
True |
UUID of the service policy |
Response
Status: 200, Ok
Error
Status: Default
ONTAP Error Response Codes
| Error Code | Description |
|---|---|
53281927 |
Service policies owned by the system cannot be deleted. |
53281928 |
Service policies assigned to LIFs cannot be deleted. |
| 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. |