Delete a vVol binding
Deletes a virtual volume (vVol) binding to manage the connections between logical unit numbers (LUNs). Use this endpoint when you need to remove or adjust the reference count for the binding between specific LUNs.
HTTP method and endpoint
DELETE /protocols/san/vvol-bindings/{protocol_endpoint.uuid}/{vvol.uuid}
Introduced in
ONTAP 9.10
Usage notes
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.
Related ONTAP commands
-
lun bind destroy
Learn more
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
protocol_endpoint.uuid |
string |
path |
True |
The unique identifier of the class |
vvol.uuid |
string |
path |
True |
The unique identifier of the class |
delete_all_references |
boolean |
query |
False |
Forces deletion of the binding regardless of the reference count 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 |
5374926 |
The vVol binding was not found. |
| Name | Type | Description |
|---|---|---|
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. |