code: public static base_responses expire(nitro_service client, cacheobject resources[]) throws Exception {
  		base_responses result = null;
  		if (resources != null && resources.length > 0) {
  			cacheobject expireresources[] = new cacheobject[resources.length];
  			for (int i=0;i<resources.length;i++){
  				expireresources[i] = new cacheobject();
  				expireresources[i].locator = resources[i].locator;
  				expireresources[i].url = resources[i].url;
  				expireresources[i].host = resources[i].host;
  				expireresources[i].port = resources[i].port;
  				expireresources[i].groupname = resources[i].groupname;
  				expireresources[i].httpmethod = resources[i].httpmethod;
  			}
  			result = perform_operation_bulk_request(client, expireresources,"expire");
  		}
  		return result;
  	}
docs: Use this API to expire cacheobject resources.