public OvhSmsSecret accessRestriction_sms_POST ( String phone ) throws IOException { String qPath = "/me/accessRestriction/sms" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "phone" , phone ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhSmsSecret . class ) ; }
Add a SMS access restriction