code: public static base_responses disable(nitro_service client, service resources[]) throws Exception {
  		base_responses result = null;
  		if (resources != null && resources.length > 0) {
  			service disableresources[] = new service[resources.length];
  			for (int i=0;i<resources.length;i++){
  				disableresources[i] = new service();
  				disableresources[i].name = resources[i].name;
  				disableresources[i].delay = resources[i].delay;
  				disableresources[i].graceful = resources[i].graceful;
  			}
  			result = perform_operation_bulk_request(client, disableresources,"disable");
  		}
  		return result;
  	}
docs: Use this API to disable service resources.