Delete NIC Device

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


Authentication
This operation uses the following authentication methods.
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