if(organizationUid != null){
                         organization = null;
                         organization = organizationService.getOrganizationById(organizationUid);
 
                 }
 
                        apikey.setOrganization(organization);

@PurnimaGS  Do we need else statement to set the "organization" ? Can we write like above code snippet ?