Delete SSH key
Remove an SSH key from a server.
DELETE/api/servers/{server}/ssh-keys/{sshKey}
Delete an SSH key
This endpoint allows you to delete an SSH key from a server.
Request
DELETE
/api/servers/{server}/ssh-keys/{sshKey}curl -X DELETE "https://ploi.io/api/servers/{server}/ssh-keys/{sshKey}" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Response
{
"message": "SSH key has been deleted."
}