public OvhTask serviceName_user_userName_grant_databaseName_update_POST ( String serviceName , String userName , String databaseName , OvhGrantEnum grant ) throws IOException { String qPath = "/hosting/privateDatabase/{serviceName}/user/{userName}/grant/{databaseName}/update" ; StringBuilder sb = path ( qPath , serviceName , userName , databaseName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "grant" , grant ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Update user grant