Thanks @Tobias_Trabelsi.
Yes exactly the same i am looking for. We want to associate a rule to a particular Quality Profile.
We would like to know the exact options / parameters for achieving this, Could you please share some examples ?
did you had a look at the embedded api documentation? you can find it if you click at the question mark next to search projects and then on “web API” (if you run on localhost with port 9000 it would be on http://localhost:9000/web_api/) . there you can find more information about the api usage and the parameter that are required etc.
in your case the call could be looking something like this: