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

Delete a vVol binding

Contributors

DELETE /protocols/san/vvol-bindings/{protocol_endpoint.uuid}/{vvol.uuid}

Introduced In: 9.10

Deletes a vVol binding. The binding between any two specific LUNs is reference counted. When a binding is deleted, the binding count is decremented, but the LUNs remain bound if the resultant reference count is greater than zero. When the binding count reaches zero, the binding is destroyed.

  • lun bind destroy

Parameters

Name Type In Required Description

delete_all_references

boolean

query

False

Forces deletion of the binding regardless of the reference count value.

  • Default value:

Response

Status: 200, Ok

Error

Status: Default

ONTAP Error Response Codes

Error Code Description

5374875

The vVol binding was not found because the protocol endpoint or vVol LUN was not found. Use to the target property of the error object to differentiate between the protocol endpoint LUN and the vVol LUN.

5374926

The vVol binding 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.