Update spam and virus flags on all active accounts

REST: POST /email/pro/{service}/updateFlagsOnAllAccounts
@param service [required] The internal name of your pro organization

API beta
486649
public void service_updateFlagsOnAllAccounts_POST(String service) throws IOException {
		String qPath = "/email/pro/{service}/updateFlagsOnAllAccounts";
		StringBuilder sb = path(qPath, service);
		exec(qPath, "POST", sb.toString(), null);
	}
101967
public void setCommerceAccountLocalService(
		com.liferay.commerce.account.service.CommerceAccountLocalService commerceAccountLocalService) {
		this.commerceAccountLocalService = commerceAccountLocalService;
	}
1061926
public void serviceName_voicemail_changeRouting_POST(String serviceName, OvhVoicefaxRoutingEnum routing) throws IOException {
		String qPath = "/freefax/{serviceName}/voicemail/changeRouting";
		StringBuilder sb = path(qPath, serviceName);
		HashMap<String, Object>o = new HashMap<String, Object>();
		addBody(o, "routing", routing);
		exec(qPath, "POST", sb.toString(), o);
	}
163401
@Override
    @Transactional
    public void updateWardenPolicyForUser(PrincipalUser user, PolicyCounter counter, double value) {
        requireNotDisposed();
        requireArgument(user != null, "User cannot be null.");
        requireArgument(counter != null, "Policy counter cannot be null.");
        _logger.info("Updating warden policy {} for {} to {} via the management service.", counter, user.getUserName(), value);
        _wardenService.updatePolicyLimitForUser(user, counter, value);
    }
464358
public void modifyServiceProvider(final Map<String, Object> changedValues) {
        AddressTemplate template = SERVICE_PROVIDER_TEMPLATE.replaceWildcards(federation, serviceProvider);
        modify(template, serviceProvider, changedValues);
    }
225944
public void putService(K serviceName, V service){
        if(cache.containsKey(serviceName)){
            cache.remove(serviceName);
        }
        cache.put(serviceName, service);
    }
1258048
public void updateServiceUri(String serviceName, String providerId,
            String uri) {
        getServiceDirectoryClient().updateServiceInstanceUri(serviceName, providerId, uri);
    }
42984
public void serviceName_cdn_serviceInfosUpdate_POST(String serviceName, OvhRenewType renew) throws IOException {
		String qPath = "/hosting/web/{serviceName}/cdn/serviceInfosUpdate";
		StringBuilder sb = path(qPath, serviceName);
		HashMap<String, Object>o = new HashMap<String, Object>();
		addBody(o, "renew", renew);
		exec(qPath, "POST", sb.toString(), o);
	}
262201
public void domain_serviceInfos_PUT(String domain, OvhService body) throws IOException {
		String qPath = "/email/domain/{domain}/serviceInfos";
		StringBuilder sb = path(qPath, domain);
		exec(qPath, "PUT", sb.toString(), body);
	}
158019
public void service_domain_domainName_PUT(String service, String domainName, OvhDomain body) throws IOException {
		String qPath = "/email/pro/{service}/domain/{domainName}";
		StringBuilder sb = path(qPath, service, domainName);
		exec(qPath, "PUT", sb.toString(), body);
	}
521318
private static void modifyAccountBySettingClient() {
    try {
      AccountUpdateResponse response = Account.updater()
        .city("Test city")
        .client(client)
        .update();
      System.out.println(response);
    } catch (PlivoRestException | IOException e) {
      e.printStackTrace();
    }
  }
537361
protected void trackServiceSession(final String id, final Service service, final boolean onlyTrackMostRecentSession) {
        update();
        service.setPrincipal(getRoot().getAuthentication().getPrincipal().getId());
        if (onlyTrackMostRecentSession) {
            val path = normalizePath(service);
            val existingServices = this.services.values();
            existingServices.stream().filter(existingService -> path.equals(normalizePath(existingService))).findFirst().ifPresent(existingServices::remove);
        }
        this.services.put(id, service);
    }
263412
public function update($identity, $service, $token)
    {

        $params = array(
            'token' => $token,
        );

        return $this->_user->put('account/identity/' . $identity . '/token/' . $service, $params);
    }
1217346
def on_service_add(self, service):
        
        self.launch_thread(service.name, self.check_loop, service)
413510
public OvhConfiguration serviceName_config_update_POST(String serviceName, OvhSafeKeyValue<String>[] parameters) throws IOException {
		String qPath = "/hosting/privateDatabase/{serviceName}/config/update";
		StringBuilder sb = path(qPath, serviceName);
		HashMap<String, Object>o = new HashMap<String, Object>();
		addBody(o, "parameters", parameters);
		String resp = exec(qPath, "POST", sb.toString(), o);
		return convertTo(resp, OvhConfiguration.class);
	}
941980
function(service, service_id) {
      Account.destroy(req.body, function(err) {
        // Error
        if (err) {
          hb.errors.emit('error', whatError(err));
          return false;
        }
    
        Switchboard.delegateAccount('remove', {service: service, service_id: service_id});
        return true;
      });
    }
661650
public net.minidev.ovh.api.domain.OvhTask serviceName_glueRecord_host_update_POST(String serviceName, String host, String[] ips) throws IOException {
		String qPath = "/domain/{serviceName}/glueRecord/{host}/update";
		StringBuilder sb = path(qPath, serviceName, host);
		HashMap<String, Object>o = new HashMap<String, Object>();
		addBody(o, "ips", ips);
		String resp = exec(qPath, "POST", sb.toString(), o);
		return convertTo(resp, net.minidev.ovh.api.domain.OvhTask.class);
	}