Using setVariable with activityId

Hi @thorben Can you please tell me a way to add/update a variable on a subprocess scope using REST API?

I have been trying for a while now.
I have posted what all i have tried in this topic.

Thanks