A newer release of this product is available.
Delete a service policy for network interfaces
Removes a service policy for network interfaces when it is no longer needed, ensuring that your network configurations remain up to date.
HTTP method and endpoint
DELETE /network/ip/service-policies/{uuid}
Introduced in
ONTAP 9.8
Usage notes
Deletes a service policy for network interfaces.
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. |