DELETE SSH Keys Unmanaged ID

The DELETE /SSHClosed The SSH (secure shell) protocol provides for secure connections between computers. It provides several options for authentication, including public key, and protects the communications with strong encryption./Keys/Unmanaged/{id} method is used to delete an unmanaged SSH key by ID. Keys discovered on SSH servers during inventory and discovery are considered unmanaged. This endpointClosed An endpoint is a URL that enables the API to gain access to resources on a server. returns 204 with no content upon success.

Tip:  The following permissions (see Security Overview) are required to use this feature:

SSH: ServerAdmin OR
SSH: EnterpriseAdmin

SSH actions are affected by ownership on the server group with which the key is associated and limited for users with only the ServerAdmin role. For more information, see the SSH Permissions section in the Keyfactor Command Reference Guide.

Note:  Deleting an unmanaged key when the associated server is still in inventory only mode will not delete the key on the target server. The next time the server is scanned, the key will re-appear in Keyfactor Command. See the Unmanaged SSH Keys section of the Keyfactor Command Reference Guide for more information.

Table 482: DELETE SSH Keys Unmanaged {id} Input Parameters

Name In Description
id Path Required. The Keyfactor Command reference ID for the unmanaged SSH key to be deleted.

Use the GET /SSH/Keys/Unmanaged method (see GET SSH Keys Unmanaged) to retrieve a list of all the unmanaged keys to determine the unmanaged key's ID.