If I am not mistaken it is the same question as in How to use the API EXPLORER to change a thing configuration