code: public ResponseWrapper forbidUser(String username, boolean disable)
              throws APIConnectionException, APIRequestException {
          StringUtils.checkUsername(username);
          return _httpClient.sendPut(_baseUrl + userPath + "/" + username + "/forbidden?disable=" + disable, null);
      }
docs: Forbid or activate user
  
  @param username username
  @param disable  true means forbid, false means activate
  @return No content
  @throws APIConnectionException connect exception
  @throws APIRequestException    request exception