Can logwatch patterns be added via Rest API?

Hello,
I have a question. We have a situation where certain log messages are not relevant for us. When such a non-relevant log message comes up, is there a possibility that a user may “tell” (with a programmed button) CheckMk that this log message can be ignored.
Therefore, the question is whether it is possible to add logwatch patterns via the Rest API or other means?

The REST-API has an endpoint to edit rules. Logwatch patterns are rules.
Ergo: You can edit logwatch patterns via API.