API to toggle subscriber mode only

Looking through the docs but didnt see a way to toggle on the channels subscriber only mode, is this possible with the api or not available?

Only via a chat command

There is no API to control room state