code: public static base_response disable(nitro_service client, String servicegroupname) throws Exception {
  		servicegroup disableresource = new servicegroup();
  		disableresource.servicegroupname = servicegroupname;
  		return disableresource.perform_operation(client,"disable");
  	}
docs: Use this API to disable servicegroup of given name.