Rest API assign media to region

There’s an example in the guide on this topic