code: public static base_responses delete(nitro_service client, String communityname[]) throws Exception {
  		base_responses result = null;
  		if (communityname != null && communityname.length > 0) {
  			snmpcommunity deleteresources[] = new snmpcommunity[communityname.length];
  			for (int i=0;i<communityname.length;i++){
  				deleteresources[i] = new snmpcommunity();
  				deleteresources[i].communityname = communityname[i];
  			}
  			result = delete_bulk_request(client, deleteresources);
  		}
  		return result;
  	}
docs: Use this API to delete snmpcommunity resources of given names.