Skip to main content

Delete a service policy for network interfaces

Contributors

DELETE /network/ip/service-policies/{uuid}

Introduced In: 9.8

Deletes a service policy for network interfaces.

  • network interface service-policy delete

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

2621740

An unexpected error when trying to determine whether the target Vserver was locked or not on this cluster.

53281927

Service policies owned by the system cannot be deleted.

53281928

Service policies assigned to LIFs cannot be deleted.

Also see the table of common errors in the Response body overview section of this documentation.

Name Type Description

error

returned_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.