public void sshKey_POST ( String key , String keyName ) throws IOException { String qPath = "/me/sshKey" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "key" , key ) ; addBody ( o , "keyName" , keyName ) ; exec ( qPath , "POST" , sb . toString ( ) , o ) ; }
Add a new public SSH key