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

Delete a LUN map

Contributors

DELETE /protocols/san/lun-maps/{lun.uuid}/{igroup.uuid}

Introduced In: 9.6

Deletes a LUN map.

  • lun mapping delete

Response

Status: 200, Ok

Error

Status: Default

ONTAP Error Response Codes

Error Code Description

5374875

The specified LUN does not exist or is not accessible to the caller.

5374878

The specified initiator group does not exist, is not accessible to the caller, or is not in the same SVM as the specified LUN.

5374922

The specified LUN map does not exist.

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.