You can use disabledRules=... in the API call to disable specific rules. You can also use disabledRuleIds in the properties files when you start the server (call java -jar languagetool-server.jar for usage help).
is there also a way to disable an entire category via server.properties? in the API I see disabledCategories but this doesn’t seem to have an equivalent in server.properties.