VIDIZMO's 'Leave' API allows joined users to leave a Channel or the main Account. To use this API, the user must be logged in so that a User Context is established. A user leaving the Channel must have rights to perform this action, and if the user doesn’t have appropriate rights, an error will be returned.


This API only expects ‘tenant_id’ parameter to execute.

Sample Code


<script type="text/javascript" src=""></script>
<script type="text/javascript">

    function Leave() {
        var options = {
               "tenant_id": 5442,
             function (response) {

            // on completion




Tenant Id of a Channel / Account user wants to leave.



{status: 1, status_code: 200, message: "You have left [Channel Name] Channel."}


To learn more how these Widgets work, click here on VIDIZMO JS API Implementation.

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