in some case we need to open light by api.is it posibble ?
it’s not possible for now to edit lighting from the viewer api at the current moment.
You can now edit lights in the Viewer API (version 1.4.0)
See: Viewer API Change Log