Using the API I was able to create an Anti Malware Configuration using Postman. (https://cloudone.trendmicro.com/docs/workload-security/api-reference/#operation/createAntiMalware)
But I still can't figure out why, even if I put some parameters such as ID of existing directory/file/process exclusion into the query, it doesn't apply to it.
I've also tried to modify exclusions on one of them once it is created but it still doesn't work.
Here is what I've done :
so it looks like your syntax is off. Changing
excludedDirectoryListId
toexcludedDirectoryListID
fixed the problem when I reproduced your bug.When I create queries, I like to copy directly from the docs page using the "copy" button on the top right of the payload, just to make sure that I don't have any small syntax errors.