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

Delete a LUN attribute

Deletes a specific LUN attribute, removing its configuration from the system. Use this when you need to modify or clean up LUN settings as part of your storage management tasks.

HTTP method and endpoint

DELETE /storage/luns/{lun.uuid}/attributes/{name}

Introduced in

ONTAP 9.10

Usage notes

Deletes a LUN attribute.

Parameters

Name Type In Required Description

lun.uuid

string

path

True

name

string

path

True

Response

Status: 200, Ok

Error

Status: Default

ONTAP Error Response Codes

Error Code Description

5374875

The specified LUN was not found.

5374931

The specified attribute was not found.

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.