Skip to main content
A newer release of this product is available.

Delete a portset

Contributors

DELETE /protocols/san/portsets/{uuid}

Introduced In: 9.9

Deletes a portset.

  • lun portset delete

Parameters

Name Type In Required Description

uuid

string

path

True

The unique identifier of the portset.

allow_delete_while_bound

boolean

query

False

Allows deletion of a portset that is bound to an igroup.

Deleting a portset can expand the set of LIFs through which a LUN is available.

  • Default value:

Response

Status: 200, Ok

Error

Status: Default

ONTAP Error Response Codes

Error Code Description

5374063

An attempt was made to delete a portset that is bound to an initiator group without using query parameter allow_delete_while_bound.

5374908

The portset does not exist.

Name Type Description

error

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.