Delete Transport Node With Deployment Info
Deletes the specified transport node. Query param force can be used to force delete the host nodes. Force deletion of edge and public cloud gateway nodes is not supported. Force delete is not supported if transport node is part of a cluster on which Transport node profile is applied.
If transport node delete is called with query param force not being set or set to false and uninstall of NSX components in the host fails, TransportNodeState object will be retained. If transport node delete is called with query param force set to true and uninstall of NSX components in the host fails, TransportNodeState object will be deleted.
It also removes the specified node (host or edge) from system. If unprepare_host option is set to false, then host will be deleted without uninstalling the NSX components from the host.
transport-node-id
Force delete the resource even if it is being used somewhere
Uninstall NSX components from host while deleting
OK
Bad Request
{
"details": "string",
"error_code": 0,
"error_data": {},
"error_message": "string",
"module_name": "string",
"related_errors": [
{
"details": "string",
"error_code": 0,
"error_data": {},
"error_message": "string",
"module_name": "string"
}
]
}
curl -X DELETE -H 'Authorization: <value>' https://{api_host}/api/v1/transport-nodes/{transport-node-id}