System Administration >
Configuration
>
Fabric
>
Nodes
>
Services
>
SSH
Remove a host's fingerprint from known hosts file
Request:
Method:
POST
URI Path(s):
/api/v1/node/services/ssh?action=remove_host_fingerprint
/api/v1/transport-nodes/<transport-node-id>/node/services/ssh?action=remove_host_fingerprint
/api/v1/cluster/<cluster-node-id>/node/services/ssh?action=remove_host_fingerprint
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
KnownHostParameter
+
KnownHostParameter
(
schema
)
Name
Description
Type
Notes
host
Known host hostname or IP address
HostnameOrIPv4Address
Required
port
Known host port
integer
Minimum: 1
Maximum: 65535
Default: "22"
Example Request:
POST https://<nsx-mgr>/api/v1/node/services/ssh?action=remove_host_fingerprint { "host": "192.168.110.105" }
Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a
Required Permissions:
crud
Feature:
system_administration
Additional Errors:
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
412 Precondition Failed
500 Internal Server Error
503 Service Unavailable