REST API - delete

vcenter vm hardware ethernet: delete

Removes a virtual Ethernet adapter from the virtual machine.


HTTP request

DELETE https://{server}/rest/vcenter/vm/{vm}/hardware/ethernet/{nic}

Path Parameters

Name Type Description
vm string Virtual machine identifier.
nic string Virtual Ethernet adapter identifier.


HTTP Status Code: 200



HTTP Status Code Type Description
500 error if the system reports an error while responding to the request.
404 not_found if the virtual machine or virtual Ethernet adapter is not found.
500 resource_busy if the virtual machine is busy performing another operation.
500 resource_inaccessible if the virtual machine's configuration state cannot be accessed.
503 service_unavailable if the system is unable to communicate with a service to complete the request.
401 unauthenticated if the user can not be authenticated.
403 unauthorized if the user doesn't have the required privileges.