Change sky texture using JS Api

How can we change the sky texture of a scene using Javascript API?

Currently it’s not possible by using the official API.
We will consider adding such option to our API though.