To allow a default tenant to be set, you can use VIDIZMO's Web API and define the value “set-default-tenant” in the “action” parameter. You can also use other optional parameters, as the example provided in the table below, get the required result set.


This method requires User Context be set before calling it. And like other APIs either use VIDIZMO JS Login API before calling this method or use VIDIZMO Web Login method and additionally pass "access_token" parameter to set User Context.


Request



Parameters


Parameter 

Description

tenant_id

ID of a tenant, you want to set as default.


Response

 

{
  "status": 1,
  "status_code": 200,
  "message": "[name] has been set as default Channel."
}

 


To learn more how these Widgets work, click here on VIDIZMO Web API Library.

For a complete list of VIDIZMO APIs, click here on VIDIZMO Developer APIs.