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

Delete an initiator group

Contributors

DELETE /protocols/san/igroups/{uuid}

Deletes an initiator group.

  • lun igroup delete

Parameters

Name Type In Required Description

uuid

string

path

True

The unique identifier of the initiator group.

allow_delete_while_mapped

boolean

query

False

Allow deletion of a mapped initiator group.

Deleting a mapped initiator group makes the LUNs to which the initiator group is mapped no longer available. This might cause a disruption in the availability of data.

This parameter should be used with caution.

  • Default value:

Response

Status: 200, Ok

Error

Status: Default

ONTAP Error Response Codes

Error Code Description

5374852

The initiator group does not exist.

1254213

The initiator group is mapped to one or more LUNs and allow_delete_while_mapped has not been specified.

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.