Delete NIC Device
Deletes a VM network adapter
Request
URI
DELETE
https://{api_host}/api/vms/{id}/nic/{index}
COPY
Path Parameters
string
id
Required
ID of VM
string
index
Required
Index of VM network adapter
Responses
204
Network adapter deleted
Operation doesn't return any data structure
400
Invalid parameters
Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
"code": 0,
"message": "string"
}
integer As int32 As int32
code
Required
code
string
message
Required
message
401
Authentication failed
Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
"code": 0,
"message": "string"
}
integer As int32 As int32
code
Required
code
string
message
Required
message
403
Permission denied
Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
"code": 0,
"message": "string"
}
integer As int32 As int32
code
Required
code
string
message
Required
message
404
No such resource
Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
"code": 0,
"message": "string"
}
integer As int32 As int32
code
Required
code
string
message
Required
message
406
Content type was not supported
Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
"code": 0,
"message": "string"
}
integer As int32 As int32
code
Required
code
string
message
Required
message
409
Resource state conflicts
Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
"code": 0,
"message": "string"
}
integer As int32 As int32
code
Required
code
string
message
Required
message
500
Server error
Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
"code": 0,
"message": "string"
}
integer As int32 As int32
code
Required
code
string
message
Required
message
default
Unexpected error
Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
"code": 0,
"message": "string"
}
integer As int32 As int32
code
Required
code
string
message
Required
message
Vm Network Adapters Management Operations
POST
Create NIC Device
DELETE
Delete NIC Device
GET
Get All NIC Devices
GET
Get IP Address
PUT
Update NIC Device