[CheckMK Web API] Set Rulesets


does anyone know how I can set new rules via the CheckMK Web API?
I know that the function is called api.set_ruleset(), but how is the syntax of the function?

Please check the documentation for the reference.


I know this site but I want to use it in a python script, and there i dont know how to use the set_ruleset function

Ah okay, then your topic is a bit confusing and you also asked:

If your are writing an API call inside python you just call the webpages as usual with output format json. Just take a look at the following posts:

1 Like

Sorry, I cant understand that.
I simply want to add rule via python script, what do I have to do for it?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.